/* Auth Page - Style moderne sombre cohérent avec le dashboard */

.pn-auth-container {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: inherit;
}

.pn-auth-box {
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
    font-family: inherit;
}

.pn-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 24px 0;
    font-family: inherit;
}

.pn-title-small {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 16px;
    text-align: center;
    font-family: inherit;
}

.pn-auth-container .pn-auth-box .pn-auth-layout {
    display: flex;
    gap: 20px;
    width: 100%;
}

.pn-auth-container .pn-auth-box .pn-auth-left {
    flex: 0 0 calc(70% - 10px);
    padding: 10px;
    background: #1a1a1a;
    border-radius: 5px;
}

.pn-auth-container .pn-auth-box .pn-auth-right {
    flex: 0 0 calc(30% - 10px);
    padding: 10px;
    background: #1a1a1a;
    border-radius: 5px;
}

.pn-auth-right .pn-btn-oauth {
    width: 100%;
    margin-bottom: 12px;
}

.pn-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ff6b6b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    text-align: center;
}

.pn-tabs-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 4px;
}

.pn-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #808080;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    font-family: inherit;
}

.pn-tab-btn.pn-active {
    background: #2d2d2d;
    color: #fff;
}

.pn-auth-form {
    display: none;
}

.pn-auth-form.pn-active {
    display: block;
}

.pn-auth-form input[type="text"],
.pn-auth-form input[type="email"],
.pn-auth-form input[type="password"] {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #404040;
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.pn-auth-form input:focus {
    outline: none;
    border-color: #ffffff;
}

.pn-auth-form input::placeholder {
    color: #808080;
}

.pn-auth-form label {
    display: flex;
    align-items: center;
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 24px;
    cursor: pointer;
    font-family: inherit;
}

.pn-auth-form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

.pn-btn-submit {
    width: 100%;
    display: block;
    background: #2a2a2a !important;
    color: #F1C95B !important;
    border: 1px solid #404040 !important;
    padding: 12px !important;
    text-align: center;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease;
    box-shadow: none !important;
    cursor: pointer;
    margin-bottom: 24px;
    font-family: inherit !important;
}

.pn-btn-submit:hover {
    border-color: #F1C95B !important;
    background: #2a2a2a !important;
    color: #F1C95B !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

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

.pn-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #404040;
}

.pn-divider span {
    background: #202020;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.pn-oauth-buttons {
    display: flex;
    gap: 12px;
}

.pn-btn-oauth {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500 !important;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
    color: #fff !important;
    transform: none !important;
    font-family: inherit !important;
}

.pn-btn-oauth svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pn-btn-oauth:hover {
    text-decoration: none !important;
    transform: none !important;
    font-weight: 500 !important;
}

.pn-btn-discord {
    background: #5865F2;
}

.pn-btn-discord:hover {
    background: #4752C4;
    color: #fff !important;
}

.pn-btn-google {
    background: #fff;
    color: #444 !important;
    border: 1px solid #ddd;
}

.pn-btn-google:hover {
    background: #f8f8f8;
    color: #444 !important;
}

/* Login state pour dashboard */
.pn-login {
    min-height: 100vh;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pn-login-card {
    background: #202020;
    border: 1px solid #404040;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.pn-login-card h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pn-login-card p {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.pn-login-card .pn-btn-primary {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .pn-auth-box {
        padding: 24px;
        margin: 0 16px;
    }
    
    .pn-oauth-buttons {
        flex-direction: column;
    }
}
