/* Fixed Auth Buttons - Right Side */
.auth-buttons-fixed {
    position: fixed;
    right: 0;
    top: 15%;
    transform: translateY(-50%);
    z-index: 9997;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Responsive - Keep mobile position unchanged */
@media (max-width: 767px) {
    .auth-buttons-fixed {
        top: 25%;
    }
}

.auth-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 25px 0 0 25px;
    box-shadow: -3px 3px 15px rgba(0, 0, 0, 0.2), 
                0 0 20px rgba(255, 255, 255, 0.1) inset;
    overflow: hidden;
}

.auth-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px 0 0 25px;
    transition: all 0.3s ease;
}

.auth-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 100%;
    height: 200%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    z-index: 2;
}

.auth-btn i,
.auth-btn span {
    position: relative;
    z-index: 1;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.auth-btn i {
    font-size: 18px;
    font-weight: 900;
}

/* Sign In - Lighter Blue */
.auth-signin::before {
    background: linear-gradient(135deg, rgba(9, 63, 180, 0.35) 0%, rgba(6, 109, 183, 0.30) 100%);
    box-shadow: 0 0 25px rgba(9, 63, 180, 0.3) inset;
}

.auth-signin:hover::before {
    background: linear-gradient(135deg, rgba(9, 63, 180, 0.50) 0%, rgba(6, 109, 183, 0.45) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(9, 63, 180, 0.5) inset;
}

/* Sign Up - Lighter Orange */
.auth-signup::before {
    background: linear-gradient(135deg, rgba(237, 53, 0, 0.35) 0%, rgba(196, 41, 0, 0.30) 100%);
    box-shadow: 0 0 25px rgba(237, 53, 0, 0.3) inset;
}

.auth-signup:hover::before {
    background: linear-gradient(135deg, rgba(237, 53, 0, 0.50) 0%, rgba(196, 41, 0, 0.45) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(237, 53, 0, 0.5) inset;
}

.auth-btn:hover {
    transform: translateX(-8px);
    box-shadow: -5px 5px 25px rgba(0, 0, 0, 0.3), 
                0 0 30px rgba(255, 255, 255, 0.2) inset,
                0 0 40px rgba(255, 255, 255, 0.1);
}

.auth-btn:hover i,
.auth-btn:hover span {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.auth-btn:hover i {
    transform: scale(1.1);
}

.auth-btn:hover::after {
    left: 200%;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .auth-btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .auth-btn i {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .auth-btn {
        padding: 10px 15px;
        font-size: 12px;
        gap: 8px;
    }

    .auth-btn i {
        font-size: 14px;
    }

    .auth-buttons-fixed {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .auth-btn span {
        display: none;
    }

    .auth-btn {
        padding: 12px;
        border-radius: 50% 0 0 50%;
        width: 45px;
        height: 45px;
    }

    .auth-btn::before {
        border-radius: 50% 0 0 50%;
    }

    .auth-btn i {
        font-size: 16px;
    }

    .auth-buttons-fixed {
        gap: 8px;
    }
}

/* Fallback for browsers without backdrop-filter */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .auth-signin::before {
        background: linear-gradient(135deg, rgba(9, 63, 180, 0.65) 0%, rgba(6, 109, 183, 0.60) 100%);
    }

    .auth-signup::before {
        background: linear-gradient(135deg, rgba(237, 53, 0, 0.65) 0%, rgba(196, 41, 0, 0.60) 100%);
    }
}

@media print {
    .auth-buttons-fixed {
        display: none !important;
    }
}
