/* Step visibility toggles */
.auth-form { display: none; }
.auth-form.active-step { display: block; }

/* Basic Form Styling */


.input-group, .file-upload-group {
    margin-bottom: 30px;
}
.input-group input[type="text"],
.input-group input[type="tel"],
.input-group input[type="email"],
.input-group input[type="password"] {
    width: 100%;
    padding: 12px 25px;
    border: 1px solid #D8D8D8;
    border-radius: 12px;
    box-sizing: border-box;
	height: 60px;
	color: #5a5a5a;
}

.file-upload-group input[type="file"]{
	display: none;
}
label.upload-btn{
	color: #239CD3 !important;
	border: 1px solid #239CD3;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 30px;
	width: fit-content !important;
	
    margin-top: 15px;
	
}

.file-upload-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #636363;
	
}

.file-chosen {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #636363;
    word-break: break-all;
}

/* OTP 6-Digit Box Styling */
.otp-input-container {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.otp-box {
    width: 60px !important;
    height: 60px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #D8D8D8 !important;
    border-radius: 12px !important;
}
.otp-box:focus {
    border-color: #2997c8; /* Adjust to match your blue */
    outline: none;
}

/* Buttons and Messages */
.btn-primary {
    width: 100%;
    background-color: #2997c8;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 12px !important;
    cursor: pointer;
    font-size: 18px !important;
	font-weight: 400 !important;
    margin-top: 10px;
	height: 64px !important;
}
.btn-primary:hover {
    background-color: #1e7ba3;
}
.form-message {
    margin: 10px 0;
    color: #d9534f;
    font-size: 14px;
    display: none;
}
.form-message.success {
    color: #5cb85c;
}


/* Secure ID Manager */
.secure-id-manager {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    border: 1px solid #D8D8D8;
    border-radius: 12px;
}

.secure-id-manager br{
	display: none;
}

.secure-id-manager__title {
    margin-top: 0;
    color: #636363;
}

.file-upload-group__label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #636363;
    margin-bottom: 5px;
}

.file-upload-group__view-link {
    display: inline-block;
    margin-bottom: 10px;
    color: #239CD3;
    font-size: 14px;
}

/* form-message success state — extends existing .form-message */
.form-message.active {
    display: block;
}
.form-message.success.active {
    background: #dff0d8;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Custom Profile Form Layout */

.custom-profile-form {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column (Avatar) */
.profile-avatar-column {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-preview {
    width: 240px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f4f4f4;
    margin-bottom: 15px;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-change-avatar {
    background-color: #f4f4f4;
    color: #1E1E1E;
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
	line-height: 24px;
    font-weight: 400;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.2s;
}

.btn-change-avatar:hover {
    background-color: #e0e0e0;
}

/* Right Column (Inputs) */
.profile-info-column {
    flex: 1;
}

.profile-info-column .input-group {
    margin-bottom: 20px;
}

.profile-info-column label {
    display: block;
    margin-bottom: 8px;
	font-size: 16px;
	line-height: 32px;
    font-weight: 500;
    color: #525252;
}

.profile-info-column input[type="text"],
.profile-info-column input[type="tel"],
.profile-info-column input[type="email"],
.profile-info-column input[type="password"] {
    width: 100%;
    padding: 14px 24px;
    border: 1px solid #D8D8D8;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 16px;
	line-height: 30px;
    font-weight: 600;
	color: #1E1E1E;
}

button.btn-save-profile[type="submit"] {
    width: 100%;
    background-color: #f4f4f4;
    color: #1E1E1E !important;
    padding: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
	line-height: 24px;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-save-profile:hover {
    background-color: #e0e0e0;
}

.profile-message.success {
    background: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive adjustment for mobile */
@media (max-width: 600px) {
    .custom-profile-form {
        flex-direction: column;
        align-items: center;
    }
    .profile-info-column {
        width: 100%;
    }
}