/* ===========================
   AminaExpress – Auth Styles
   =========================== */

.amina-auth-wrapper {
    max-width: 450px;
    margin: 50px auto;
    padding: 25px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    font-family: "Arial", sans-serif;
}

.amina-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

/* ===========================
   MESSAGES
   =========================== */
.amina-msg {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.amina-success { background: #e5f8e5; color: #1b8a1b; }
.amina-error   { background: #ffe2e2; color: #b30000; }

/* ===========================
   TABS
   =========================== */
.amina-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.amina-tab {
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    color: #555;
}

.amina-auth-wrapper .amina-tab.active {
    border-bottom-color: #62B02A !important;
    color: #62B02A !important;
}

/* ===========================
   CONTENT PANELS
   =========================== */
.amina-content {
    display: none;
}

.amina-content.active {
    display: block;
}

/* ===========================
   FORMULAIRE
   =========================== */
.amina-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.amina-form input[type="text"],
.amina-form input[type="email"],
.amina-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 15px;
}

.amina-auth-wrapper .amina-btn,
.amina-auth-wrapper button.amina-btn,
.amina-auth-wrapper input[type="submit"].amina-btn {
    background-color: #62B02A !important;
    border-color: #62B02A !important;
    color: #ffffff !important;
}

button.amina-btn {
    background: #62B02A !important;
}


.amina-btn:hover {
    opacity: 0.9;
}

.amina-remember {
    margin-bottom: 10px;
    font-size: 14px;
}

/* =======================
   LINKS
   ======================= */
.amina-link {
    color: #62B02A;
    cursor: pointer;
    font-size: 14px;
}

.amina-bottom-text {
    text-align: center;
    margin-top: 15px;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
}

/* Mobile */
@media(max-width: 480px) {
    .amina-auth-wrapper { padding: 10px; }
    .amina-title { font-size: 20px; }
}

.amina-error-field {
    border: 2px solid #e53935 !important;
    background: #fff6f6;
}

.amina-error-text {
    color: #e53935;
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}

/* Section contenant une erreur */
.amina-section-error {
    background: #f6fff1;
    border: 2px solid #62B02A;
    padding: 15px;
    border-radius: 12px;
}


.amina-logo {
    text-align: center;
    margin-bottom: 20px;
}

.amina-logo img {
    max-width: 40px;
    height: auto;
}

.amina-help {
    display: block;
    margin: 6px 0 10px;
    font-size: 12px;
    color: #666;
}

@media (max-width: 640px) {
    .amina-auth-wrapper {
        padding: 10px !important;
        margin: 20px auto;
    }
}


