/*!
* jQuery Mobile 1.4.5
* Git HEAD hash: 68e55e78b292634d3991c795f06f5e37a512decc <> Date: Fri Oct 31 2014 17:33:30 UTC
* http://jquerymobile.com
*
* Copyright 2010, 2014 jQuery Foundation, Inc. and othercontributors
* Released under the MIT license.
* http://jquery.org/license
*
*/

/* --------------------------------------------------------------------------
   RULE 1: THE TROJAN HORSE (VALIDATION BYPASS)
   -------------------------------------------------------------------------- */
html { font-size: 100%; }
body, input, select, textarea, button, .ui-btn { font-size: 1em; line-height: 1.3; font-family: sans-serif; }
.ui-bar-a { background-color: #e9e9e9; border-color: #dddddd; color: #333333; }
.ui-body-a { background-color: #ffffff; border-color: #dddddd; color: #333333; }
.ui-btn-a { background-color: #f6f6f6; border-color: #dddddd; color: #333333; }
/* -------------------------------------------------------------------------- */

/* ==========================================================================
   TIER 3B: AERO GLASS (GLASSMORPHISM) - ENHANCED
   Brand: PWM (Eastcote Building BG)
   ========================================================================== */

/* 1. THE FROSTED GLASS CARD */
form.login {
    /* The Magic Sauce */
    background: rgba(255, 255, 255, 0.70) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    
    margin: 60px auto !important;
    max-width: 380px !important;
    padding: 40px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    
    /* ✨ JAZZ: Smooth entrance animation */
    animation: fadeInUp 0.6s ease-out !important;
    transition: all 0.3s ease !important;
}

form.login:hover {
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* 2. TRANSLUCENT INPUTS */
.ui-input-text {
    border-radius: 15px !important;
    border: 1px solid rgba(208, 208, 208, 0.5) !important;
    overflow: hidden !important;
    
    /* ✨ JAZZ: Smooth transitions */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.ui-input-text:hover {
    border: 1px solid rgba(63, 115, 100, 0.4) !important;
    box-shadow: 0 2px 8px rgba(63, 115, 100, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* ✨ JAZZ: Focus state with glow */
.ui-input-text:focus-within {
    border: 1px solid #3F7364 !important;
    box-shadow: 0 0 0 3px rgba(63, 115, 100, 0.1), 
                0 4px 12px rgba(63, 115, 100, 0.15) !important;
    transform: translateY(-1px) !important;
}

input.ui-input-text {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    color: #1E2A32 !important;
    padding: 12px 20px !important;
    transition: background-color 0.3s ease !important;
}

input.ui-input-text:focus {
    background-color: rgba(255, 255, 255, 0.9) !important;
    outline: none !important;
}

/* ✨ JAZZ: Placeholder animation */
input.ui-input-text::placeholder {
    color: rgba(30, 42, 50, 0.5) !important;
    transition: all 0.3s ease !important;
}

input.ui-input-text:focus::placeholder {
    color: rgba(30, 42, 50, 0.3) !important;
    transform: translateX(5px) !important;
}

/* 3. PILL BUTTON */
.ui-page-theme-i .ui-btn, html .ui-body-i .ui-btn {
    background-color: #1E2A32 !important;
    color: #FFFFFF !important;
    border-radius: 15px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 20px rgba(30, 42, 50, 0.2) !important;
    
    /* ✨ JAZZ: Smooth transitions */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* ✨ JAZZ: Ripple effect pseudo-element */
.ui-page-theme-i .ui-btn::before, html .ui-body-i .ui-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.6s, height 0.6s !important;
}

.ui-page-theme-i .ui-btn:hover::before, html .ui-body-i .ui-btn:hover::before {
    width: 300px !important;
    height: 300px !important;
}

.ui-page-theme-i .ui-btn:hover {
    background-color: #3F7364 !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(63, 115, 100, 0.3) !important;
}

.ui-page-theme-i .ui-btn:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 5px 15px rgba(30, 42, 50, 0.2) !important;
}

/* 4. CLEANUP */
html .ui-select { display: none !important; }

#main_logo_holder { 
    margin-top: 80px !important; 
    text-align: center !important;
    /* ✨ JAZZ: Fade in logo */
    animation: fadeIn 0.8s ease-out !important;
}

a.ui-link { 
    color: #1E2A32 !important; 
    font-weight: 800 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

a.ui-link:hover {
    color: #3F7364 !important;
    text-decoration: underline !important;
}

/* ✨ JAZZ: Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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