/* Futuristic Login Styles for Roundcube */

body.task-login {
    background: url('../images/futuristic_bg.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

#layout {
    background: transparent !important;
}

#layout-content {
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 420px;
    margin: 0 !important;
    position: relative;
    z-index: 10;
}

#logo {
    display: block;
    margin: 0 auto 40px auto;
    max-height: 60px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.propform .form-group {
    margin-bottom: 25px;
}

.form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important;
    outline: none;
}

label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease !important;
    color: white !important;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.5);
    filter: brightness(1.1);
}

#login-footer {
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-align: center;
}

#login-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

#login-footer a:hover {
    color: #fff;
}

/* Hide unwanted elements */
.voice,
.no-navbar {
    display: none !important;
}

/* Adjustment for Roundcube objects */
#login-form {
    margin: 0;
}

.selected.no-navbar {
    display: block !important;
}