/* Login Page Styles */

.auth-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 60px;
    position: relative;
    min-height: calc(100vh - 120px);
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-container::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 0;
    width: 500px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-150px, -150px);
}

.breadcrumbs {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: #06b6d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #0891b2;
    text-decoration: underline;
}

.current {
    color: #6b7280;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.auth-form-section {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.form-header {
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin: 0;
    font-weight: 700;
}

.auth-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #06b6d4;
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

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

.form-actions {
    margin-bottom: 25px;
}

.btn-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.form-help {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 25px;
    border-top: 2px solid #e5e7eb;
}

.form-help p {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 15px;
}

.help-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-primary {
    color: #06b6d4;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-primary:hover {
    color: #0891b2;
    text-decoration: underline;
}

.back-link {
    margin-top: 25px;
    text-align: center;
}

.back-link a {
    color: #06b6d4;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #0891b2;
    text-decoration: underline;
}

.error-message {
    background: #fee2e2;
    border: 2px solid #fca5a5;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.error-message p {
    color: #991b1b;
    font-weight: 500;
    margin: 0;
    font-size: 14px;
}

.auth-info-section {
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.info-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.decorative-element {
    position: absolute;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.planeta-login {
    top: 10%;
    right: 10%;
    width: 100px;
    height: auto;
    animation: float 8s ease-in-out infinite;
}

.gwiazdy-login {
    top: 30%;
    left: 10%;
    width: 80px;
    height: auto;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.info-content {
    position: relative;
    z-index: 2;
}

.info-icon {
    margin-bottom: 25px;
}

.info-icon i {
    font-size: 4rem;
    color: #06b6d4;
}

.auth-info-section h3 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.auth-info-section > p {
    color: #475569;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 500;
}

.info-features {
    margin-bottom: 35px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    text-align: left;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature i {
    color: #06b6d4;
    font-size: 1.5rem;
    width: 35px;
    flex-shrink: 0;
}

.feature p {
    color: #374151;
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.security-note {
    color: #047857;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(6, 182, 212, 0.2);
}

.security-note i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .auth-form-section {
        padding: 40px 30px;
    }

    .auth-info-section {
        order: -1;
        padding: 40px 30px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .decorative-element {
        opacity: 0.2;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 20px 15px;
    }

    .auth-form-section {
        padding: 30px 20px;
    }

    .auth-info-section {
        padding: 30px 20px;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .form-group input {
        padding: 12px 16px;
    }

    .btn-primary {
        padding: 14px 24px;
    }

    .info-icon i {
        font-size: 3rem;
    }

    .auth-info-section h3 {
        font-size: 1.5rem;
    }
}
