/* ==========================================================================
   AZS MODERN LOGIN PAGE
   Ločena CSS datoteka za prijavo stran
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.azs-login-page {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.azs-login-row {
    display: flex;
    min-height: 100vh;
    flex-direction: row;
}

/* --------------------------------------------------------------------------
   Hero Section (Left Side)
   -------------------------------------------------------------------------- */

.azs-login-hero {
    flex: 0 0 65%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.azs-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.azs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.azs-hero-branding {
    position: relative;
    z-index: 2;
    padding: 30px 40px;
}

.azs-hero-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.azs-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.azs-logo-icon img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.azs-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 40px 50px;
}

.azs-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.azs-hero-description {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Form Section (Right Side)
   -------------------------------------------------------------------------- */

.azs-login-form-section {
    flex: 0 0 35%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    padding-bottom: 100px;
    position: relative;
}

.azs-login-form-wrapper {
    width: 100%;
    max-width: 380px;
}

/* Header */
.azs-login-header {
    margin-bottom: 32px;
}

.azs-login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.azs-login-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Messages */
.azs-login-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #dc2626;
}

/* --------------------------------------------------------------------------
   Form Elements
   -------------------------------------------------------------------------- */

.azs-login-form {
    margin-bottom: 24px;
}

.azs-form-group {
    margin-bottom: 20px;
}

.azs-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.azs-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.azs-input-icon {
    position: absolute;
    left: 14px;
    z-index: 1;
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.azs-form-input {
    width: 100%;
    height: 48px;
    padding: 0 48px 0 44px;
    font-size: 14px;
    color: #1f2937;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

.azs-form-input::placeholder {
    color: #9ca3af;
}

.azs-form-input:hover {
    border-color: #d1d5db;
    background: #ffffff;
}

.azs-form-input:focus {
    border-color: #3C8DBC;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(60, 141, 188, 0.1);
}

.azs-form-input:focus + .azs-input-icon,
.azs-input-wrapper:focus-within .azs-input-icon {
    color: #3C8DBC;
}

/* Password Toggle */
.azs-password-toggle {
    position: absolute;
    right: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.azs-password-toggle:hover {
    color: #6b7280;
    background: rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   Submit Button
   -------------------------------------------------------------------------- */

.azs-form-submit {
    margin-top: 28px;
    margin-bottom: 0;
}

.azs-btn-login {
    width: 100%;
    height: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #3C8DBC 0%, #357CA5 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(60, 141, 188, 0.35);
}

.azs-btn-login:hover {
    background: linear-gradient(135deg, #357CA5 0%, #2d6a8f 100%);
    box-shadow: 0 6px 20px rgba(60, 141, 188, 0.45);
    transform: translateY(-1px);
}

.azs-btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(60, 141, 188, 0.3);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.azs-login-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.azs-footer-info {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.azs-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #3C8DBC;
    text-decoration: none;
    transition: color 0.2s ease;
}

.azs-footer-link:hover {
    color: #2d6a8f;
}

.azs-footer-link i {
    font-size: 11px;
}

.azs-footer-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 12px 0 0 0;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Sponsor Footer (Fundacija za šport)
   -------------------------------------------------------------------------- */

.azs-sponsor-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 16px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.azs-sponsor-text {
    font-size: 11px;
    color: #6b7280;
    margin: 8px 0 0 0;
    line-height: 1.4;
}

.azs-sponsor-logo {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.azs-sponsor-logo:hover {
    opacity: 0.8;
}

.azs-sponsor-logo img {
    max-width: 80px;
    height: auto;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .azs-login-hero {
        flex: 0 0 50%;
    }
    
    .azs-login-form-section {
        flex: 0 0 50%;
    }
    
    .azs-hero-title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .azs-login-row {
        flex-direction: column;
    }
    
    .azs-login-hero {
        flex: none;
        min-height: 35vh;
    }
    
    .azs-login-form-section {
        flex: 1;
        padding: 30px 20px;
        padding-bottom: 90px;
    }
    
    .azs-hero-branding {
        padding: 20px 24px;
    }
    
    .azs-hero-content {
        padding: 24px;
    }
    
    .azs-hero-title {
        font-size: 24px;
    }
    
    .azs-hero-description {
        font-size: 14px;
    }
    
    .azs-sponsor-footer {
        padding: 12px 16px;
    }
    
    .azs-sponsor-logo img {
        max-width: 70px;
    }
}

@media (max-width: 480px) {
    .azs-login-hero {
        min-height: 30vh;
    }
    
    .azs-login-form-section {
        padding: 24px 16px;
    }
    
    .azs-login-form-wrapper {
        max-width: 100%;
    }
    
    .azs-login-title {
        font-size: 24px;
    }
    
    .azs-hero-title {
        font-size: 20px;
    }
    
    .azs-hero-description {
        font-size: 13px;
    }
    
    .azs-logo-icon img {
        height: 60px;
    }
}
