/* Auth pages */

:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
}

/* ===== STYLE UNTUK LOGIN ===== */
.login-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-layout {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
    margin-right: 150px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-image-section {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* Styles untuk Lottie container */
.lottie-container {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Teks di bawah animasi */
.auth-text-below {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    margin-top: auto;
}

.auth-text-below h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.auth-text-below p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
}

@keyframes textGlow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    to {
        text-shadow: 2px 2px 8px rgba(76, 201, 240, 0.8);
    }
}

.auth-form-section {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-form-container {
    width: 100%;
    max-width: 320px;
    animation: fadeIn 0.8s ease-out 0.3s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.auth-form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.auth-form-header p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-floating {
    margin-bottom: 1.5rem;
    width: 100%;
    background: white;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

.btn-auth {
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: white;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

/* Tombol Kembali ke Dashboard */
.btn-back-dashboard {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
}

.btn-back-dashboard:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    width: 100%;
}

.auth-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.auth-link:hover {
    color: var(--secondary);
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Checkbox dan Lupa Password Alignment */
.d-flex.justify-content-between.align-items-center {
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-check {
    margin-bottom: 0;
}

.form-check-label {
    color: #666;
    font-size: 0.85rem;
}

.auth-link.small {
    font-size: 0.85rem;
}

/* Form floating labels */
.form-floating>label {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
}

.form-floating>.form-control {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    transform: scale(0.85) translateY(-0.9rem) translateX(0.15rem);
    opacity: 0.8;
}

/* Invalid feedback */
.invalid-feedback {
    text-align: left;
    width: 100%;
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Responsive Design untuk Login */
@media (max-width: 992px) {
    .auth-layout {
        flex-direction: column;
        height: auto;
        max-width: 450px;
        margin: 1rem;
    }

    .auth-image-section {
        height: 350px;
        min-height: 350px;
        flex: none;
    }

    .auth-form-section {
        padding: 2rem 1.5rem;
        flex: 1;
    }

    .auth-form-container {
        max-width: 100%;
    }

    .auth-text-below h2 {
        font-size: 2rem;
    }

    .auth-text-below p {
        font-size: 1.1rem;
    }

    .auth-form-header h2 {
        font-size: 2rem;
    }

    .lottie-container {
        height: 60%;
        position: relative;
    }
}

@media (max-width: 768px) {
    .auth-layout {
        margin: 0.5rem;
        border-radius: 15px;
    }

    .auth-form-section {
        padding: 1.5rem 1rem;
    }

    .auth-form-header h2 {
        font-size: 1.8rem;
    }

    .auth-form-header p {
        font-size: 1rem;
    }

    .auth-image-section {
        height: 300px;
    }

    .auth-text-below h2 {
        font-size: 1.6rem;
    }

    .auth-text-below p {
        font-size: 1rem;
    }

    .lottie-container {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .auth-layout {
        margin: 0.5rem;
    }

    .auth-form-section {
        padding: 1rem;
    }

    .auth-text-below h2 {
        font-size: 1.5rem;
    }

    .auth-text-below p {
        font-size: 0.9rem;
    }

    .auth-text-below {
        padding: 1rem 0.5rem;
    }

    .auth-form-container {
        max-width: 280px;
    }

    .auth-image-section {
        height: 280px;
    }
}

/* Memastikan semua elemen form konsisten */
.form-floating,
.d-flex.justify-content-between.align-items-center,
.btn-auth,
.btn-back-dashboard,
.auth-footer {
    max-width: 100%;
}

/* Icon dalam form */
.form-floating label i {
    width: 16px;
    text-align: center;
}

/* Styles untuk Lottie container */
.lottie-container {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Container untuk auth image */
.auth-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Teks di bawah animasi */
.auth-text-below {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    margin-top: auto;
}

.auth-text-below h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.auth-text-below p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .auth-image-container {
        height: 300px;
        justify-content: center;
    }

    .lottie-container {
        height: 60%;
        position: relative;
    }

    .auth-text-below {
        position: relative;
        background: transparent;
        padding: 1rem;
    }

    .auth-text-below h2 {
        font-size: 2rem;
    }

    .auth-text-below p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .auth-text-below h2 {
        font-size: 1.8rem;
    }

    .auth-text-below p {
        font-size: 0.9rem;
    }

    .lottie-container {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .auth-text-below h2 {
        font-size: 1.5rem;
    }

    .auth-text-below p {
        font-size: 0.8rem;
    }

    .auth-text-below {
        padding: 1rem 0.5rem;
    }
}

/* ===== STYLE UNTUK REGISTER ===== */
.register-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 20px;
    margin-right: 40px;
    position: relative;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatRegister 20s infinite linear;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.shape:nth-child(4) {
    width: 250px;
    height: 250px;
    bottom: 30%;
    right: 10%;
    animation-delay: -15s;
    animation-duration: 35s;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatRegister {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(100px, 100px) rotate(90deg);
    }

    50% {
        transform: translate(200px, 0) rotate(180deg);
    }

    75% {
        transform: translate(100px, -100px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Main Container untuk Register */
.register-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: containerSlide 0.8s ease-out;
    margin-right: 130px;
}

@keyframes containerSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header untuk Register */
.register-header {
    text-align: center;
    margin-bottom: 25px;
}

.register-header h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.8rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.register-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Landscape Layout untuk Register */
.landscape-form {
    width: 100%;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form Styles untuk Register */
.register-form-group {
    position: relative;
    margin-bottom: 0;
    width: 100%;
}

.register-form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 14px 14px 45px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    height: 52px;
    background: #f8f9fa;
    box-sizing: border-box;
}

.register-form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    outline: none;
    background: #fff;
    transform: translateY(-2px);
}

/* Label Styles untuk Register */
.register-form-label {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: #f8f9fa;
    padding: 0 8px;
    margin: 0;
    z-index: 2;
}

.register-form-control:focus+.register-form-label,
.register-form-control:not(:placeholder-shown)+.register-form-label {
    top: 0;
    left: 37px;
    font-size: 0.75rem;
    color: #667eea;
    background: white;
    transform: translateY(-50%);
    font-weight: 600;
}

/* Form Icons untuk Register */
.register-form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.register-form-control:focus~.register-form-icon {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
}

/* Password Toggle untuk Register */
.register-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.register-password-toggle:hover {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
}

/* Role Selection untuk Register */
.register-role-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.register-role-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    margin: 0;
}

.register-role-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.register-role-option {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.register-role-option:hover {
    border-color: #667eea;
    background: #f0f2ff;
    transform: translateY(-2px);
}

.register-role-option.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    animation: rolePulse 2s infinite;
}

@keyframes rolePulse {

    0%,
    100% {
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    }

    50% {
        box-shadow: 0 5px 25px rgba(102, 126, 234, 0.6);
    }
}

.register-role-option i {
    font-size: 1.1rem;
}

.register-role-option span {
    font-size: 0.85rem;
}

/* Terms and Conditions untuk Register */
.register-terms-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
}

.register-terms-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #667eea;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.register-terms-checkbox:checked {
    transform: scale(1.1);
}

.register-terms-label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

.register-auth-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.register-auth-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Submit Button untuk Register */
.register-btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.register-btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.register-btn-submit:hover::before {
    left: 100%;
}

.register-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    animation: buttonPulse 0.6s ease-in-out;
}

.register-btn-submit:active {
    transform: translateY(0);
}

.register-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@keyframes buttonPulse {
    0% {
        transform: translateY(-2px) scale(1);
    }

    50% {
        transform: translateY(-2px) scale(1.05);
    }

    100% {
        transform: translateY(-2px) scale(1);
    }
}

/* Auth Footer untuk Register */
.register-auth-footer {
    text-align: center;
    color: #6c757d;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Back to Login untuk Register */
.register-back-login {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.register-back-login a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.register-back-login a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.register-back-login a:hover::after {
    width: 100%;
}

.register-back-login a:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* Loading animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design untuk Register */
@media (max-width: 992px) {
    .form-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .register-container {
        padding: 25px 20px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .register-body {
        padding: 15px;
    }

    .register-container {
        padding: 20px 15px;
    }

    .register-header {
        margin-bottom: 20px;
    }

    .register-header h2 {
        font-size: 1.5rem;
    }

    .register-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .register-role-selection {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .register-role-option {
        flex-direction: row;
        justify-content: center;
        padding: 10px;
    }

    .register-role-option i {
        font-size: 0.9rem;
    }

    .form-column {
        gap: 12px;
    }

    .register-container {
        padding: 15px 12px;
    }

    .register-form-control {
        padding: 12px 12px 12px 40px;
        height: 48px;
        font-size: 0.9rem;
    }

    .register-form-label {
        left: 40px;
        font-size: 0.9rem;
    }

    .register-form-control:focus+.register-form-label,
    .register-form-control:not(:placeholder-shown)+.register-form-label {
        left: 32px;
        font-size: 0.7rem;
    }

    .register-form-icon {
        left: 12px;
        font-size: 0.85rem;
    }
}

/* Success Animation untuk Register */
@keyframes success {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.success {
    animation: success 0.6s ease-in-out;
}

/* Forgot Password Specific Styles */
.auth-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-back-login {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: block;
}

.btn-back-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* ===== STYLE UNTUK FORGET PASSWORD ===== */
.forgot-password-container {
    width: 100%;
    max-width: 400px;
    margin-right: 150px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.forget-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Description styles untuk forget password */
.auth-description {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(63, 55, 201, 0.1) 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-bottom: 1.5rem;
}

.auth-description p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Form styles khusus forget password */
.forgot-password-container .form-floating {
    margin-bottom: 1.5rem;
}

.forgot-password-container .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 0.75rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.forgot-password-container .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
    background: #fff;
    transform: translateY(-2px);
}

/* Button styles untuk forget password */
.forgot-password-container .btn-auth {
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.forgot-password-container .btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.forgot-password-container .btn-auth:hover::before {
    left: 100%;
}

.forgot-password-container .btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.forgot-password-container .btn-auth:active {
    transform: translateY(0);
}

/* Back to login button styles */
.btn-back-login {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-back-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-back-login:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-back-login:hover::before {
    left: 0;
}

.btn-back-login:active {
    transform: translateY(0);
}

/* Footer styles untuk forget password */
.forgot-password-container .auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    width: 100%;
}

.forgot-password-container .auth-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.forgot-password-container .auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password-container .auth-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.forgot-password-container .auth-link:hover {
    color: var(--secondary);
}

.forgot-password-container .auth-link:hover::after {
    width: 100%;
}

/* Loading animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success message styles */
.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error message styles */
.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Responsive Design untuk Forget Password */
@media (max-width: 768px) {
    .forgot-password-container {
        margin: 1rem;
        padding: 1.5rem;
        max-width: none;
    }

    .auth-description {
        padding: 1rem;
    }

    .auth-description p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .forgot-password-container {
        margin: 0.5rem;
        padding: 1.25rem;
    }

    .forgot-password-container .btn-auth,
    .btn-back-login {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .forgot-password-container .auth-footer p {
        font-size: 0.85rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .forgot-password-container {
        background: rgba(33, 37, 41, 0.95);
        color: #f8f9fa;
    }

    .forgot-password-container .form-control {
        background: #ffffff;
        border-color: #6c757d;
        color: #f8f9fa;
    }

    .forgot-password-container .form-control:focus {
        background: #ffffff;
        color: #f8f9fa;
    }

    .auth-description p {
        color: #adb5bd;
    }

    .forgot-password-container .auth-footer p {
        color: #adb5bd;
    }
}

/* Auth Pages End */
