/* Modern Transparent Login Page with Animations */

/* Chicken Orange Color */
:root {
    --chicken: #ed9513;
}

.bg-chicken {
    background-color: var(--chicken) !important;
}

.bg-chicken:hover {
    background-color: #d77709 !important;
}

/* New Glassmorphic Login Design Styles */
#bg-banner {
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: #1b1b18;
    background-image: url('../bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

#bg-banner .absolute {
    position: absolute;
}

#bg-banner .inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#bg-banner .bg-black\/30 {
    background-color: rgba(0, 0, 0, 0.3);
}

#bg-banner .z-0 {
    z-index: 0;
}

#bg-banner .relative {
    position: relative;
}

#bg-banner .z-10 {
    z-index: 10;
}

#bg-banner .bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

#bg-banner .backdrop-blur-md {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

#bg-banner .rounded-2xl {
    border-radius: 1rem;
}

#bg-banner .shadow-4xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#bg-banner .w-full {
    width: 100%;
}

#bg-banner .max-w-6xl {
    max-width: 72rem;
}

#bg-banner .min-h-\[450px\] {
    min-height: 450px;
}

#bg-banner .flex {
    display: flex;
}

#bg-banner .flex-col {
    flex-direction: column;
}

#bg-banner .items-center {
    align-items: center;
}

#bg-banner .justify-center {
    justify-content: center;
}

#bg-banner .justify-between {
    justify-content: space-between;
}

#bg-banner .gap-6 {
    gap: 1.5rem;
}

#bg-banner .p-6 {
    padding: 1.5rem;
}

#bg-banner .shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#bg-banner .rounded-xl {
    border-radius: 0.75rem;
}

#bg-banner .h-auto {
    height: auto;
}

#bg-banner .h-56 {
    height: 14rem;
}

#bg-banner .h-full {
    height: 100%;
}

#bg-banner .opacity-60 {
    opacity: 0.6;
}

#bg-banner .object-contain {
    object-fit: contain;
}

#bg-banner .max-h-\[220px\] {
    max-height: 220px;
}

#bg-banner .mb-6 {
    margin-bottom: 1.5rem;
}

/* Login Panel Specific Styles */
#bg-banner .login-panel {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    border-radius: 0.75rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Login Image Container */
#bg-banner .login-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#bg-banner .login-decor-image {
    max-width: 100%;
    height: auto;
}

@media (min-width: 640px) {
    #bg-banner .sm\:p-6 {
        padding: 1.5rem;
    }
    
    #bg-banner .sm\:p-8 {
        padding: 2rem;
    }
    
    #bg-banner .sm\:max-h-\[320px\] {
        max-height: 320px;
    }
}

@media (min-width: 1024px) {
    #bg-banner .lg\:flex-row {
        flex-direction: row;
    }
    
    #bg-banner .lg\:w-2\/5 {
        width: 40%;
    }
    
    #bg-banner .lg\:w-3\/5 {
        width: 60%;
    }
    
    #bg-banner .lg\:h-\[580px\] {
        height: 580px;
    }
    
    #bg-banner .lg\:p-8 {
        padding: 2rem;
    }
    
    #bg-banner .lg\:p-10 {
        padding: 2.5rem;
    }
    
    #bg-banner .lg\:max-h-\[500px\] {
        max-height: 500px;
    }
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #667eea 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    animation: float 20s infinite ease-in-out;
}

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

.shape-2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 10%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: -125px;
    right: -125px;
    animation-delay: 6s;
}

.shape-5 {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.25;
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(30px, 50px) rotate(270deg);
        opacity: 0.45;
    }
}

/* Modern Login Container */
.modern-login-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    padding: 70px 80px;
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    animation: cardAppear 0.8s ease-out;
}

/* Central Login - Extra Wide Modal */
.glass-card-central {
    max-width: 1100px;
    padding: 80px 100px;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.logo-circle {
    display: inline-block;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-circle img {
    max-width: 80px;
    max-height: 80px;
}

/* Form Heading */
.form-heading-modern {
    text-align: center;
    margin-bottom: 30px;
}

.title-modern {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.1);
    letter-spacing: -0.5px;
}

.subtitle-modern {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.alert-modern {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    background: rgba(220, 53, 69, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(220, 53, 69, 0.25);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.5s ease;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.alert-modern i {
    font-size: 20px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.alert-modern i {
    font-size: 18px;
}

/* Modern Form */
.modern-auth-form {
    width: 100%;
}

/* Input Group */
.input-group-modern {
    margin-bottom: 25px;
    position: relative;
}

.input-wrapper-modern {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s ease;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.modern-input {
    width: 100%;
    padding: 14px 18px 14px 50px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: opacity 0.3s ease;
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.modern-input:focus::placeholder {
    opacity: 0;
}

.modern-input:focus + .input-label,
.modern-input:not(:placeholder-shown) + .input-label {
    opacity: 0;
    transform: translateY(-20px);
}

.input-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: width 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.modern-input:focus ~ .input-line {
    width: calc(100% - 36px);
}

.input-wrapper-modern.focused .input-icon {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    z-index: 2;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Error Messages */
.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 8px;
    padding-left: 18px;
    display: none;
    animation: slideDown 0.3s ease;
}

.error-message.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Options */
.form-options {
    margin-bottom: 25px;
    text-align: right;
}

.forgot-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.forgot-link i {
    font-size: 18px;
}

.forgot-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateX(-3px);
}

/* Submit Button */
.modern-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.modern-submit-btn.bg-chicken {
    background: var(--chicken) !important;
    border-color: var(--chicken);
}

.modern-submit-btn.bg-chicken:hover {
    background: #d77709 !important;
    border-color: #d77709;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(237, 149, 19, 0.4);
}

.modern-submit-btn::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 ease;
}

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

.modern-submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

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

.modern-submit-btn.loading {
    pointer-events: none;
}

.btn-loader {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.modern-submit-btn.loading .btn-loader {
    display: inline-block;
}

.modern-submit-btn.loading .btn-text {
    opacity: 0;
}

.spinner-loader {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Animation Classes */
.animated-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animated-slide-up {
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .glass-card {
        max-width: 85%;
        padding: 70px 60px;
    }
    
    .glass-card-central {
        max-width: 90%;
        padding: 70px 80px;
    }
}

@media (max-width: 768px) {
    .glass-card {
        padding: 50px 40px;
        border-radius: 25px;
        max-width: 90%;
    }

    .title-modern {
        font-size: 28px;
    }

    .subtitle-modern {
        font-size: 14px;
    }

    .modern-input {
        padding: 12px 16px 12px 48px;
        font-size: 14px;
    }

    .input-icon {
        font-size: 16px;
        left: 16px;
    }

    .modern-submit-btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .logo-circle {
        width: 100px;
        height: 100px;
    }

    .logo-circle img {
        max-width: 70px;
        max-height: 70px;
    }

    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        display: none;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 40px 30px;
        border-radius: 20px;
        max-width: 95%;
    }

    .title-modern {
        font-size: 24px;
    }

    .subtitle-modern {
        font-size: 13px;
    }

    .modern-input {
        padding: 10px 14px 10px 45px;
        font-size: 13px;
    }

    .input-icon {
        font-size: 15px;
        left: 14px;
    }

    .modern-submit-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .logo-circle {
        width: 90px;
        height: 90px;
    }

    .logo-circle img {
        max-width: 60px;
        max-height: 60px;
    }
}

/* Override default auth page styles */
.auth-page {
    background: transparent !important;
    position: relative;
    z-index: 0;
}

.auth-container {
    background: transparent !important;
    position: relative;
    z-index: 0;
}

.form-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: relative;
    z-index: 0;
}

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

/* Override body background */
body.default-theme {
    background-image: none !important;
    background: transparent !important;
}

body.default-theme[style*="background-image"] {
    background-image: none !important;
    background: transparent !important;
}

/* Demo Login Section */
.demo-login-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.demo-login-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.demo-login-form {
    margin: 0;
}

.demo-login-btn {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.demo-login-btn i {
    font-size: 18px;
}

.demo-login-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

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

@media (max-width: 768px) {
    .demo-login-grid {
        grid-template-columns: 1fr;
    }
}

/* Payment Configuration Page Styles */
.glass-card-payment-config {
    max-width: 1200px;
    padding: 60px 70px;
}

.modern-payment-form {
    width: 100%;
}

.input-suffix {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Adjust input padding when suffix is present */
.modern-payment-form .input-wrapper-modern .modern-input {
    padding-right: 50px;
}

.modern-input:focus ~ .input-suffix,
.input-wrapper-modern.focused .input-suffix {
    color: rgba(255, 255, 255, 0.95);
}

.modern-textarea {
    min-height: 100px;
    resize: vertical;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.textarea-label {
    top: 20px !important;
    transform: none !important;
}

.modern-input:focus ~ .textarea-label,
.modern-textarea:not(:placeholder-shown) ~ .textarea-label {
    opacity: 0;
    transform: translateY(-20px) !important;
}

.form-text-modern {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin-top: 8px;
    padding-left: 18px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.alert-info-modern {
    background: rgba(23, 162, 184, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(23, 162, 184, 0.25) !important;
    color: #fff !important;
}

/* Example Calculation Cards */
.example-calculation-card {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.example-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.example-title i {
    font-size: 24px;
}

.example-card {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.example-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.example-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.example-gross .example-icon {
    color: rgba(102, 126, 234, 0.9);
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
}

.example-bank .example-icon {
    color: rgba(40, 167, 69, 0.9);
    text-shadow: 0 0 15px rgba(40, 167, 69, 0.5);
}

.example-cash .example-icon {
    color: rgba(255, 193, 7, 0.9);
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.example-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin: 0 0 10px 0;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.example-value {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.example-gross .example-value {
    color: rgba(102, 126, 234, 1);
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

.example-bank .example-value {
    color: rgba(40, 167, 69, 1);
    text-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
}

.example-cash .example-value {
    color: rgba(255, 193, 7, 1);
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.example-note {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* Form Actions */
.form-actions-modern {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modern-cancel-btn {
    padding: 18px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.modern-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.modern-cancel-btn i {
    font-size: 18px;
}

/* Responsive for Payment Config */
@media (max-width: 1200px) {
    .glass-card-payment-config {
        max-width: 95%;
        padding: 50px 50px;
    }
}

@media (max-width: 768px) {
    .glass-card-payment-config {
        padding: 40px 30px;
    }
    
    .example-calculation-card {
        padding: 20px;
    }
    
    .form-actions-modern {
        flex-direction: column;
    }
    
    .modern-submit-btn,
    .modern-cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Table Pages - Designation and Commission */
.glass-card-table {
    max-width: 100%;
    padding: 40px 50px;
}

.glass-card-table .form-heading-modern {
    margin-bottom: 30px;
}

.glass-card-table .title-modern {
    font-size: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.glass-card-table .title-modern i {
    font-size: 32px;
}

/* Table Content Styling */
.glass-card-table .table-content,
.glass-card-table .table-basic,
.glass-card-table .card,
.glass-card-table .card-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.glass-card-table .table-toolbar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.glass-card-table .form-select,
.glass-card-table .form-control {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
}

.glass-card-table .form-select:focus,
.glass-card-table .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

.glass-card-table .form-select option {
    background: rgba(102, 126, 234, 0.95);
    color: #ffffff;
}

.glass-card-table .btn-add {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.glass-card-table .btn-add:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.glass-card-table .search-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px 15px;
}

.glass-card-table .search-box input {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.95);
}

.glass-card-table .search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.glass-card-table .search-box .icon {
    color: rgba(255, 255, 255, 0.8);
}

.glass-card-table .btn-dropdown {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
}

.glass-card-table .btn-dropdown:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.glass-card-table .dropdown-menu {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-card-table .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.glass-card-table .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.glass-card-table .table-responsive {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    overflow-x: auto;
}

.glass-card-table table {
    color: rgba(255, 255, 255, 0.95);
}

.glass-card-table table thead {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.glass-card-table table thead th {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px;
}

.glass-card-table table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.glass-card-table table tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.01);
}

.glass-card-table table tbody td {
    color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Responsive for Table Pages */
@media (max-width: 1200px) {
    .glass-card-table {
        padding: 35px 40px;
    }
}

@media (max-width: 768px) {
    .glass-card-table {
        padding: 30px 25px;
    }
    
    .glass-card-table .title-modern {
        font-size: 28px;
    }
    
    .designation-container,
    .commission-container,
    .device-container,
    .leave-container,
    .assign-leave-container,
    .leave-request-container,
    .daily-leave-container,
    .leave-balance-container {
        padding: 20px 15px;
    }
}

/* Date Range Button Styling */
.glass-card-table .btn-daterange {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.glass-card-table .btn-daterange:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Additional styling for assign leave dropdowns */
.glass-card-table .btn-designation {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.glass-card-table .btn-designation:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.glass-card-table .dropdown-designation .dropdown-menu {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 15px;
}

.glass-card-table .dropdown-designation .select2 {
    width: 100% !important;
}

.glass-card-table .dropdown-designation .form-control.select2 {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
}

.glass-card-table .dropdown-designation .form-control.select2:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

