input {
	padding: 17px !important;
}

.pcs-container {
	max-width: 100%;
	min-height: 100vh;
	margin: 0;
	padding: 40px 20px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.pcs-header {
	color: #6fbf00d9;
	font-size: 24px;
	margin-bottom: 2rem;
}

.pcs-search-form {
	/*max-width: 560px;*/
	margin: 0 auto;
	background: #ffffff;
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pcs-search-title {
	color: #6fbf00d9;
	font-size: 20px;
	margin-bottom: 5px;
}

.pcs-search-subtitle {
	color: #6fbf00d9;
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 15px;
}

.pcs-search-description {
	color: #666;
	font-size: 14px;
	margin-bottom: 20px;
}

.pcs-search-input-container {
	position: relative;
	margin-bottom: 20px;
}

#pcs-barcode {
	width: 100%;
	padding: 12px 40px 12px 16px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 25px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#pcs-barcode:focus {
	outline: none;
	border-color: #37a0e6;
}

.search-icon {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #666;
	cursor: pointer;
}

.pcs-results {
	/*max-width: 500px;*/
	margin: 20px auto;
	background: rgba(255, 255, 255, 0.9);
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	display: none;
}

.pcs-results.active {
	display: block;
}

.pcs-results-title {
	color: #37a0e6;
	font-size: 24px;
	margin-bottom: 20px;
}

.pcs-field {
	margin-bottom: 15px;
	text-align: center;
}

.pcs-field-label {
	color: #37a0e6;
	display: block;
	margin-bottom: 5px;
}

.pcs-field-value {
	color: #333;
	font-size: 24px;
	font-weight: bold;
}

.button-container {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

#pcs-search-btn {
	background-color: #37a0e6;
	color: white;
	padding: 15px 60px;
	border: none;
	border-radius: 30px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	width: 100%;
	/*max-width: 300px;*/
	margin-top: 20px;
}

#pcs-search-btn:hover {
	background-color: #37a0e6;
	transform: translateY(-1px);
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#pcs-search-btn:active {
	transform: translateY(1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#pcs-search-btn:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
}

.pcs-error {
	color: #dc3545;
	background-color: #fff5f5;
	padding: 15px;
	border-radius: 8px;
	margin: 10px 0;
	text-align: center;
	font-weight: 500;
}

.pcs-result-item {
	margin-top: 20px;
}

/* Updated Form Styles */
#pcs-signup-form {
	display: grid;
	gap: 24px;
	padding: 30px;
	/*max-width: 480px;*/
	margin: 0 auto;
}

.pcs-search-input-container {
	position: relative;
	width: 100%;
	margin-bottom: 0; /* Remove default margin */
}

.pcs-search-input-container input,
.pcs-search-input-container select {
	width: 100%;
	padding: 16px;
	font-size: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	background-color: #ffffff;
	transition: all 0.2s ease;
	color: #333;
}

.pcs-search-input-container input:focus,
.pcs-search-input-container select:focus {
	border-color: #4da1e9;
	box-shadow: 0 0 0 4px rgba(111, 191, 0, 0.1);
	outline: none;
}

.phone-input-container {
	display: grid;
	grid-template-columns: 100px 1 fr;
	gap: 12px;
}

.country-select select {
	padding-right: 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.validation-indicator {
	position: absolute;
	right: 16px;
	top: 46%;
	transform: translateY(-50%);
	font-size: 13px;
	color: #6fbf00;
	font-weight: 500;
}

.checkbox-container {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
}

.checkbox-container input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #4da1e9;
	cursor: pointer;
	vertical-align: sub;
}

.checkbox-container span {
	font-size: 14px;
	line-height: 1.5;
	color: #444;
}

.login-note {
	margin: 24px 0;
	padding: 20px 20px;
	padding-bottom: 20px !important;
	background-color: #f8f9fa;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	border-left: 4px solid #4da1e9;
}

#pcs-signup-btn {
	width: 100%;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	background-color: #4da1e9;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px #4da1e9;
}

#pcs-signup-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px #4da1e9;
}

#pcs-signup-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px #4da1e9;
}

#pcs-signup-btn:disabled {
	background: #cccccc;
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
}

/* Password toggle button */
.toggle-password {
	position: absolute;
	right: 16px;
	top: 50%; 
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Message styling */
.pcs-message-box {
	padding: 16px 20px;
	border-radius: 12px;
	margin: 16px 0;
	font-weight: 500;
	animation: slideIn 0.3s ease;
}

/* Error states */
.input-error {
	border-color: #dc3545 !important;
}

.input-error:focus {
	box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
	color: #dc3545;
	font-size: 13px;
	margin-top: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Animations */
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Updated Responsive Design */
@media (max-width: 768px) {
	.pcs-container {
		padding: 10px;
		min-height: auto;
	}

	.pcs-search-form {
		padding: 20px;
		margin: 0;
		border-radius: 10px;
	}

	#pcs-signup-form {
		padding: 10px;
		gap: 16px;
	}

	.pcs-search-input-container input,
	.pcs-search-input-container select {
		padding: 14px;
		font-size: 14px;
	}

	.login-note {
		margin: 16px 0;
		padding: 15px;
	}

	.checkbox-container span {
		font-size: 13px;
	}

	#pcs-signup-btn {
		padding: 14px 20px;
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.pcs-container {
		padding: 5px;
	}

	.pcs-search-form {
		padding: 15px;
	}

	.phone-input-container {
		grid-template-columns: 1 fr;
		gap: 8px;
	}

	.validation-indicator {
		font-size: 12px;
	}
}

/* Input Focus States */
.pcs-search-input-container input:focus::placeholder,
.pcs-search-input-container select:focus::placeholder {
	color: #999;
}

/* Update existing styles */
#pcs-signup-results,
#pcs-results {
	margin: 20px 0;
	min-height: 30px;
}

select {
	width: 100%;
	padding: 16px;
	font-size: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	background-color: #ffffff;
	transition: all 0.2s ease;
	color: #333;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
}

/* Remove the default select arrow in IE */
select::-ms-expand {
	display: none;
}

/* Specific iOS Safari styling fixes */
@supports (-webkit-touch-callout: none) {
	select {
		font-size: 16px;
		padding: 16px 35px 16px 16px;
		line-height: 1.3;
	}
}

/* Login Form Styles */
.pcs-login-header {
	text-align: center;
	margin-bottom: 30px;
}

.pcs-login-header h2 {
	color: #6fbf00;
	font-size: 28px;
	margin-bottom: 8px;
	font-weight: 600;
}

.pcs-login-header p {
	color: #666;
	font-size: 16px;
}

.pcs-login-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0;
}

.remember-me {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.remember-me input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #6fbf00;
	cursor: pointer;
}

.remember-me span {
	font-size: 14px;
	color: #555;
}

.forgot-password {
	font-size: 14px;
	color: #6fbf00;
	text-decoration: none;
	transition: color 0.2s ease;
}

.forgot-password:hover {
	color: #5ea500;
	text-decoration: underline;
}

#pcs-login-btn {
	width: 100%;
	padding: 16px 24px;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	background: linear-gradient(135deg, #6fbf00 0%, #5ea500 100%);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(111, 191, 0, 0.2);
}

#pcs-login-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(111, 191, 0, 0.3);
}

#pcs-login-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(111, 191, 0, 0.2);
}

#pcs-login-btn:disabled {
	background: #cccccc;
	transform: none;
	box-shadow: none;
	cursor: not-allowed;
}

.pcs-signup-link {
	text-align: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.pcs-signup-link p {
	font-size: 15px;
	color: #666;
}

.pcs-signup-link a {
	color: #6fbf00;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.pcs-signup-link a:hover {
	color: #5ea500;
	text-decoration: underline;
}

.pcs-success {
	background-color: #e8f5e9;
	color: #2e7d32;
	border-left: 4px solid #2e7d32;
}

/* Responsive adjustments for login form */
@media (max-width: 768px) {
	.pcs-login-header h2 {
		font-size: 24px;
	}

	.pcs-login-header p {
		font-size: 14px;
	}

	.pcs-login-options {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.forgot-password {
		align-self: flex-end;
	}
}
