* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 60px);
    padding: 40px 20px;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 40px;
}

.auth-header {
    margin-bottom: 32px;
    text-align: center;
}

/* Nav z logo w lewym górnym rogu */
.auth-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    z-index: 10000;
}

.auth-nav .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    margin-left: 0;
    padding-left: 5px;
}

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

.logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(100%) saturate(2000%) hue-rotate(200deg) brightness(1.1);
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    font-family: 'Orbitron', 'Rajdhani', 'Audiowide', 'Chakra Petch', sans-serif;
}

.auth-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: 'Orbitron', 'Rajdhani', 'Audiowide', 'Chakra Petch', sans-serif;
}

.auth-subtitle {
    font-size: 14px;
    color: #888888;
    margin-top: 12px;
    line-height: 1.5;
    font-weight: 400;
}

.auth-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-link:hover {
    color: #60a5fa;
}

.auth-form {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    padding-right: 45px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: rgba(59, 130, 246, 0.5);
    background: transparent;
}

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

.username-group {
    position: relative;
}

.username-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #888888;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #ffffff;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #888888;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.terms-link {
    color: #3b82f6;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.5);
    border: 1px solid #3b82f6;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.auth-button:hover {
    background: rgba(59, 130, 246, 0.7);
    border-color: #60a5fa;
}

.auth-divider {
    text-align: center;
    margin: 32px 0;
    position: relative;
    color: #666666;
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #3a3a3a;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-button:hover {
    background: #333333;
    border-color: #4a4a4a;
}

.social-button svg {
    width: 20px;
    height: 20px;
}

.status-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.status-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Stopka */
.footer {
    padding: 20px 2rem;
    text-align: center;
    background: transparent;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.4;
}

/* Dashboard */
.dashboard-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    padding-bottom: 100px;
}

.dashboard-content {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 60px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dashboard-content h1 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-email {
    color: #888888;
    margin-bottom: 40px;
    font-size: 16px;
}

.dashboard-info {
    background: #2a2a2a;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.dashboard-info p {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 14px;
}

.dashboard-info p:last-child {
    margin-bottom: 0;
}

.dashboard-info strong {
    color: #667eea;
}

.logout-btn {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsywność */
@media (max-width: 968px) {
    .auth-container {
        flex-direction: column;
        height: auto;
        max-width: 500px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

