/* assets/css/auth.css */

/* 
   ENHANCED AUTH CARD STYLING - COMPACT & CENTERED
*/

/* Section Layout - Vertical Centering */
.register-section {
    padding: 60px 0 80px 0 !important;
    min-height: 85vh;
    /* Increase height coverage */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.register-section .auto-container {
    width: 100%;
}

.register-section .inner-box {
    max-width: 420px !important;
    margin: 0 auto !important;
}

.register-section .inner-box .form-inner {
    border-radius: 16px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    background: #ffffff !important;
    padding: 35px 30px !important;
    /* Slightly more vertical padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-section .inner-box .form-inner:hover {
    transform: translateY(-2px);
}

/* 
   FLOATING LABELS & INPUT STYLING
*/

/* Reset Form Groups */
.mb-3 {
    margin-bottom: 1rem !important;
}

/* Base Input Styling (Floating) */
.form-floating>.form-control {
    height: 52px !important;
    /* Comfortable height for floating label */
    padding: 1rem 0.75rem 0.25rem 0.75rem !important;
    /* Adjust text position */
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    border-radius: 8px !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

/* Base Input Styling (Standard - Fallback) */
.form-control:not(.form-floating > .form-control) {
    height: 45px !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px !important;
}

/* Floating Label Styling */
.form-floating>label {
    padding: 1rem 0.75rem !important;
    height: 100%;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #6c757d !important;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out !important;
    margin-bottom: 0 !important;
    /* Reset margin */
}

/* Floating Label - Active State */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem) !important;
    opacity: 0.8;
}

/* Focus State */
.form-floating>.form-control:focus,
.form-control:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
    /* Soft focus shadow */
    outline: 0 !important;
}

/* 
   INPUT GROUPS & BUTTONS
*/

/* Fix Input Group with Floating Label */
.input-group>.form-floating {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group>.form-floating>.form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Verification Button */
#verifyBtn {
    height: 52px !important;
    /* Match input height */
    padding: 0 20px !important;
    font-weight: 600;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    z-index: 5;
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

#verifyBtn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Main Auth Button */
.theme-btn {
    padding: 0.7rem 1rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    width: 100%;
    margin-top: 10px;
}

/* Eye Icon Positioning (for Floating Labels) */
.form-floating .bi-eye,
.form-floating .bi-eye-slash {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    z-index: 5;
    font-size: 1.2rem;
    color: #6c757d;
    cursor: pointer;
}

/* Header Text Fixes */
.form-inner h3,
.form-inner .text {
    margin-bottom: 25px !important;
    color: #333;
}