/*
 * SIMPORTS Executive Landing Page - Dark Theme
 * Designed for Port Executives (CEOs of Fremantle, Halifax, Amsterdam, Singapore)
 */

/* Background Container */
.simports-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-image: url("/ZephyrWebSitesWebBundlesSentient/faces/javax.faces.resource/img/index/LoginBGDefault.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.simports-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 50%, rgba(15, 23, 42, 0.92) 100%);
    z-index: -1;
}

/* Parallax Background Fallback */
.sh-util-parallax-simports {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Main Login Body */
.simports-login-body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    z-index: 1;
}

/* Port Logos - Floating Top Right */
.simports-port-logos {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0.85;
}

.simports-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 41, 59, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
}

.simports-logo-item:hover {
    background: rgba(30, 41, 59, 0.95);
    transform: translateX(-5px);
    border-color: rgba(148, 163, 184, 0.4);
}

.simports-logo {
    width: 40px;
    height: auto;
    filter: brightness(1.1);
}

.simports-logo-label {
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.simports-hero-section {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
}

.simports-hero-content {
    animation: fadeInUp 1s ease-out;
}

.simports-hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    line-height: 1.1;
}

.simports-hero-subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin: 0 0 40px 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Port Badges */
.simports-port-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.simports-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 41, 59, 0.7);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.simports-badge:hover {
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(148, 163, 184, 0.5);
}

.simports-badge-icon {
    font-size: 1.5rem;
}

.simports-badge-text {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Login Panel */
.simports-login-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(148, 163, 184, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.1);
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    z-index: 10;
}

.simports-login-panel-header {
    text-align: center;
    margin-bottom: 40px;
}

.simports-logo-main {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.simports-panel-title {
    font-size: 2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.simports-panel-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 300;
}

.simports-login-panel-content {
    margin-bottom: 30px;
}

.simports-login-panel-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.simports-footer-text {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    font-style: italic;
}

/* Feature Cards */
.simports-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.simports-feature-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    width: 280px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.4s ease;
    animation: fadeInUp 1.4s ease-out;
}

.simports-feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.simports-feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.simports-feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(148, 163, 184, 0.4);
}

.simports-feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.simports-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 10px 0;
}

.simports-feature-desc {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .simports-hero-title {
        font-size: 2.5rem;
    }
    
    .simports-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .simports-login-panel {
        padding: 40px 30px;
        max-width: 100%;
    }
    
    .simports-port-logos {
        position: relative;
        top: auto;
        right: auto;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .simports-features {
        flex-direction: column;
        align-items: center;
    }
    
    .simports-feature-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Override PrimeFaces components for dark theme */
.simports-login-panel .ui-inputtext,
.simports-login-panel .ui-password {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    color: #f1f5f9 !important;
    border-radius: 8px !important;
}

.simports-login-panel .ui-inputtext:focus,
.simports-login-panel .ui-password:focus {
    border-color: rgba(148, 163, 184, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1) !important;
}

.simports-login-panel .ui-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 12px 30px !important;
    transition: all 0.3s ease !important;
}

.simports-login-panel .ui-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4) !important;
}

.simports-login-panel label {
    color: #cbd5e1 !important;
}

.simports-login-panel .ui-outputlabel {
    color: #cbd5e1 !important;
}

