/* --- BASE RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #e8f0f8 0%, #f4f7fa 50%, #e0e9f2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Background */
body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #d4af37 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.03;
    z-index: 0;
}

.signup-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 950px;
}

/* --- MAIN CONTAINER --- */
.signup-container {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(12, 28, 53, 0.15);
}

/* --- LEFT PANEL --- */
.signup-brand-panel {
    flex: 0 0 350px;
    background: linear-gradient(160deg, #9c7803 0%, #dba904 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-content {
    text-align: center;
    color: #ffffff;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.brand-icon i { font-size: 32px; }

.brand-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
}

/* --- RIGHT PANEL --- */
.signup-form-panel {
    flex: 1;
    padding: 50px 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    width: 100%;
    max-width: 400px;
}

/* HEADER */
.signup-header {
    margin-bottom: 25px;
}

.signup-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #0c1c35;
}

.signup-header p {
    font-size: 14px;
    color: #6b7280;
}

/* INPUT */
.form-floating-custom {
    position: relative;
    margin-bottom: 18px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.form-input {
    width: 100%;
    padding: 22px 20px 10px 50px;
    font-size: 14px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: 0.3s;
}

.form-input:focus {
    background: #ffffff;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.08);
}

.floating-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #9ca3af;
    transition: 0.2s;
}

/* FLOAT */
.form-input:focus ~ .floating-label,
.form-input:not(:placeholder-shown) ~ .floating-label {
    top: 12px;
    font-size: 10px;
    color: #0056b3;
    font-weight: 700;
}

/* PASSWORD */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #9ca3af;
}

/* PASSWORD STRENGTH */
.password-strength {
    margin-bottom: 18px;
    opacity: 0;
    transition: 0.3s;
}

.password-strength.active { opacity: 1; }

.strength-bars {
    display: flex;
    gap: 5px;
    margin-bottom: 6px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: #e5e7eb;
}

/* BUTTON */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #0c1c35;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* FOOTER */
.form-divider {
    text-align: center;
    margin: 15px 0;
}

.form-divider span {
    font-size: 13px;
    color: #9ca3af;
}

.form-footer {
    text-align: center;
}

.signin-link {
    font-weight: 600;
    color: #0056b3;
    text-decoration: none;
}

/* =========================
   🔥 RESPONSIVE
========================= */

/* TABLET */
@media (max-width: 992px) {
    .signup-container {
        flex-direction: column;
    }

    .signup-brand-panel {
        width: 100%;
        padding: 35px 20px;
    }

    .signup-form-panel {
        padding: 35px 25px;
    }
}

/* SMALL TABLET */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .signup-container {
        border-radius: 15px;
    }

    .signup-header h1 {
        font-size: 26px;
    }
}

/* MOBILE */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .signup-container {
        border-radius: 12px;
    }

    .signup-brand-panel {
        padding: 25px 15px;
    }

    .brand-icon {
        width: 60px;
        height: 60px;
    }

    .brand-content h2 {
        font-size: 20px;
    }

    .signup-header h1 {
        font-size: 22px;
    }

    .signup-header p {
        font-size: 12px;
    }

    .form-input {
        font-size: 13px;
        padding: 20px 15px 8px 45px;
    }

    .floating-label {
        font-size: 12px;
    }

    .btn-submit {
        font-size: 14px;
        padding: 12px;
    }
}