/* Styles pour le plugin Mon Premier Plugin Bundle */

/* Formulaire d'inscription */
.mpp-formulaire-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mpp-form-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.mpp-form-group {
    margin-bottom: 20px;
}

.mpp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.mpp-form-group input[type="text"],
.mpp-form-group input[type="email"],
.mpp-form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.mpp-form-group input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.mpp-form-group .checkbox-label {
    display: inline;
    margin-left: 8px;
    font-weight: normal;
}

.mpp-form-submit {
    margin-top: 30px;
    text-align: center;
}

.mpp-submit-button {
    background: linear-gradient(135deg, #007cba 0%, #006ba1 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.mpp-submit-button:hover {
    background: linear-gradient(135deg, #006ba1 0%, #005a87 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.3);
}

.mpp-login-link,
.mpp-register-link {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
}

.mpp-login-link a,
.mpp-register-link a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
}

.mpp-login-link a:hover,
.mpp-register-link a:hover {
    text-decoration: underline;
}

/* Page de connexion */
.mpp-login-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mpp-login-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.mpp-remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.mpp-forgot a {
    color: #007cba;
    text-decoration: none;
    font-size: 14px;
}

.mpp-forgot a:hover {
    text-decoration: underline;
}

/* Alertes */
.mpp-alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-size: 15px;
}

.mpp-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mpp-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mpp-alert-error ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.mpp-alert-error li {
    margin-bottom: 5px;
}

/* État connecté */
.mpp-already-logged,
.mpp-logged-in {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.mpp-already-logged strong,
.mpp-logged-in strong {
    color: #007cba;
}

.button {
    display: inline-block;
    padding: 10px 25px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px 5px;
    transition: background 0.3s ease;
}

.button:hover {
    background: #005a87;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .mpp-formulaire-container,
    .mpp-login-container {
        margin: 20px;
        padding: 25px;
    }
    
    .mpp-remember-forgot {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}