/* =====================================================
   Client Registration – fully isolated under .registration-wrapper
   Updated: Dropdowns + Other input + removed PAN/Aadhaar styles
   ===================================================== */

.registration-wrapper,
.registration-wrapper * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.registration-wrapper {
	max-width: 860px;
	width: 100%;
	background: #ffffff;
	border-radius: 2rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
	padding: 2rem 2rem 2.2rem;
	transition: all 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(2px);
	margin: 1.5rem auto;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #0c1e30;
}

.registration-wrapper h1 {
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0b1e33;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.2rem;
}

.registration-wrapper .subhead {
	color: #4b5b6e;
	font-size: 0.95rem;
	font-weight: 400;
	border-left: 4px solid #2a7de1;
	padding-left: 1rem;
	margin-bottom: 2rem;
	background: #f0f5fe;
	padding: 0.7rem 1.2rem;
	border-radius: 40px;
	display: inline-block;
}

.registration-wrapper .section-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #1e2f44;
	margin: 1.8rem 0 1rem 0;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid #e9eef3;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.registration-wrapper .section-title i {
	color: #2a7de1;
	width: 1.6rem;
	font-size: 1.2rem;
}

.registration-wrapper .grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.2rem 1.5rem;
}

.registration-wrapper .full-width {
	grid-column: 1 / -1;
}

.registration-wrapper .field-group {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin-bottom: 0.2rem;
}

.registration-wrapper label {
	font-size: 0.85rem;
	font-weight: 500;
	color: #1f3349;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.registration-wrapper label .required {
	color: #d14545;
	font-weight: 700;
	margin-left: 2px;
}

/* Inputs, Selects, Textarea */
.registration-wrapper input,
.registration-wrapper select,
.registration-wrapper textarea {
	width: 100%;
	padding: 0.7rem 1rem;
	font-size: 0.95rem;
	border: 1.5px solid #dce3ec;
	border-radius: 14px;
	background: #fafcff;
	transition: 0.2s;
	font-family: 'Inter', sans-serif;
	color: #0c1e30;
}

.registration-wrapper select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235f7d95' d='M6 8.825L1.175 4 2.05 3.125 6 7.075 9.95 3.125 10.825 4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
	cursor: pointer;
}

.registration-wrapper input:focus,
.registration-wrapper select:focus,
.registration-wrapper textarea:focus {
	outline: none;
	border-color: #2a7de1;
	box-shadow: 0 0 0 4px rgba(42, 125, 225, 0.12);
	background: #ffffff;
}

.registration-wrapper textarea {
	min-height: 70px;
	resize: vertical;
}

/* File Upload */
.registration-wrapper .file-upload-area {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
	background: #f2f6fe;
	padding: 0.5rem 1rem;
	border-radius: 40px;
	border: 1.5px dashed #b8cbe0;
}

.registration-wrapper .file-upload-area input[type="file"] {
	border: none;
	padding: 0.3rem 0;
	background: transparent;
	width: auto;
	flex: 1;
	font-size: 0.85rem;
}

.registration-wrapper .file-hint {
	font-size: 0.7rem;
	color: #4f657e;
	background: #e4ecf7;
	padding: 0.2rem 0.8rem;
	border-radius: 30px;
	white-space: nowrap;
}

/* Checkbox */
.registration-wrapper .checkbox-group {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 1.2rem 0 1rem;
}

.registration-wrapper .checkbox-group input[type="checkbox"] {
	width: 1.2rem;
	height: 1.2rem;
	accent-color: #1f6fd9;
	border-radius: 6px;
	cursor: pointer;
}

.registration-wrapper .checkbox-group label {
	font-weight: 500;
	font-size: 0.95rem;
	color: #1b3146;
	cursor: pointer;
}

/* Submit Button */
.registration-wrapper .btn-submit {
	background: #0b2b4f;
	border: none;
	padding: 1rem 2.2rem;
	border-radius: 60px;
	font-weight: 700;
	font-size: 1.2rem;
	color: white;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	width: 100%;
	transition: 0.2s;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(11, 43, 79, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.1);
	letter-spacing: 0.3px;
	margin-top: 0.5rem;
}

.registration-wrapper .btn-submit i {
	font-size: 1.2rem;
}

.registration-wrapper .btn-submit:hover {
	background: #1a3f68;
	transform: scale(1.01);
	box-shadow: 0 10px 20px -6px #0b2b4f55;
}

.registration-wrapper .btn-submit:active {
	transform: scale(0.98);
}

.registration-wrapper .btn-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.registration-wrapper small {
	color: #516b84;
	font-size: 0.7rem;
	display: block;
	margin-top: 0.2rem;
}

/* Other Input (for dropdown "Other" option) */
.registration-wrapper .other-input {
	margin-top: 0.4rem;
}

.registration-wrapper .other-input input {
	width: 100%;
}

/* Hidden utility */
.registration-wrapper .hidden {
	display: none !important;
}

/* File selector button */
.registration-wrapper input::file-selector-button {
	background: #e1eaf3;
	border: none;
	padding: 0.3rem 1rem;
	border-radius: 30px;
	font-weight: 500;
	color: #0b2b4f;
	margin-right: 0.5rem;
	transition: 0.15s;
	cursor: pointer;
}

.registration-wrapper input::file-selector-button:hover {
	background: #cbdae9;
}

/* Mobile */
@media screen and (max-width: 640px) {
	.registration-wrapper {
		padding: 1.5rem 1.2rem;
	}
	.registration-wrapper .grid-2 {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.registration-wrapper h1 {
		font-size: 1.6rem;
	}
	.registration-wrapper .subhead {
		font-size: 0.85rem;
		padding: 0.5rem 1rem;
	}
	.registration-wrapper .file-upload-area {
		flex-direction: column;
		align-items: stretch;
		padding: 0.8rem 1rem;
	}
	.registration-wrapper .file-hint {
		white-space: normal;
		text-align: center;
	}
	.registration-wrapper .btn-submit {
		font-size: 1rem;
		padding: 0.9rem 1.2rem;
	}
}

@media screen and (max-width: 480px) {
	.registration-wrapper {
		padding: 1rem 0.8rem;
		border-radius: 1.5rem;
	}
	.registration-wrapper .section-title {
		font-size: 1rem;
	}
}