/* REGISTER SECTION STYLES */
.register-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f4c3a 0%, #1d6a59 50%, #2d8a70 100%);
    padding: 80px 20px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.register-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.register-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
    align-items: center;
}

/* LEFT SIDE - BRANDING */
.register-brand {
    color: #fff;
    padding: 40px;
}

.brand-content {
    color: #fff;
}

.brand-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.brand-content > p {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 1;
    line-height: 1.6;
    color: #ffffff;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature i {
    font-size: 32px;
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature p {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    color: #ffffff;
}

/* RIGHT SIDE - REGISTER FORM */
.register-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-box {
    background: #fff;
    padding: 50px 45px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-box h2 {
    font-size: 32px;
    color: #1d6a59;
    margin-bottom: 8px;
    font-weight: 800;
}

.form-subtitle {
    color: #999;
    font-size: 14px;
    margin-bottom: 35px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0 15px;
    transition: all 0.3s ease;
    position: relative;
}

.input-wrapper:focus-within {
    border-color: #1d6a59;
    box-shadow: 0 0 0 4px rgba(29, 106, 89, 0.1);
}

.input-wrapper i {
    color: #1d6a59;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.input-wrapper input {
    border: none;
    padding: 14px 0;
    width: 100%;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    background: transparent;
    color: #333;
}

.input-wrapper input::placeholder {
    color: #bbb;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #1d6a59;
}

.password-hint {
    font-size: 12px;
    color: #999;
    margin-top: -5px;
}

.terms-agreement {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1d6a59;
    flex-shrink: 0;
}

.checkbox-label .terms-link {
    color: #1d6a59;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.checkbox-label .terms-link:hover {
    color: #ffc107;
}

.btn-register {
    background: linear-gradient(135deg, #1d6a59, #235b4f);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(29, 106, 89, 0.25);
    background: linear-gradient(135deg, #235b4f, #1a4f42);
}

.btn-register:active {
    transform: translateY(0);
}

/* MESSAGES */
.error-message,
.success-message {
    padding: 15px 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.error-message i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.error-message ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.error-message li {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.error-message a {
    color: #c33;
    font-weight: 600;
    text-decoration: underline;
}

.success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

.success-message i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.success-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.success-message a {
    color: #3c3;
    font-weight: 600;
    text-decoration: underline;
}

.login-link {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.login-link a {
    color: #1d6a59;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #ffc107;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .register-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .register-brand {
        text-align: center;
        padding: 30px;
    }

    .brand-content h1 {
        font-size: 40px;
    }

    .brand-content > p {
        font-size: 16px;
    }

    .form-box {
        max-width: 100%;
        padding: 40px 35px;
    }
}

@media (max-width: 768px) {
    .register-section {
        padding: 60px 15px 50px;
    }

    .register-container {
        gap: 20px;
    }

    .register-brand {
        padding: 20px 0;
    }

    .brand-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .brand-content > p {
        font-size: 14px;
        margin-bottom: 35px;
    }

    .brand-features {
        gap: 20px;
    }

    .feature i {
        font-size: 28px;
    }

    .feature p {
        font-size: 14px;
    }

    .form-box {
        padding: 35px 25px;
    }

    .form-box h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .register-form {
        gap: 18px;
    }

    .form-group label {
        font-size: 13px;
    }

    .input-wrapper {
        padding: 0 12px;
    }

    .input-wrapper i {
        font-size: 14px;
        margin-right: 10px;
    }

    .input-wrapper input {
        padding: 12px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .register-section {
        padding: 50px 10px 40px;
    }

    .brand-content h1 {
        font-size: 28px;
    }

    .brand-content > p {
        font-size: 13px;
    }

    .form-box {
        padding: 30px 20px;
    }

    .form-box h2 {
        font-size: 24px;
    }

    .btn-register {
        padding: 12px;
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 12px;
    }
}
