/* DESIGN DU CONTAINER PRINCIPAL */
.mjc-container {
    max-width: 550px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}

.mjc-header {
    text-align: center;
    margin-bottom: 25px;
}

.mjc-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 700;
}

.mjc-header p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

/* FORMULAIRE D'INSCRIPTION */
.mjc-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.mjc-input-group input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.mjc-input-group input[type="email"]:focus {
    border-color: #3498db;
}

.mjc-input-group button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.mjc-input-group button:hover {
    background: #2980b9;
}

/* MESSAGES */
.mjc-message {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}
.mjc-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}
.mjc-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* BOITE DE PARRAINAGE */
.mjc-parrainage-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.mjc-parrainage-box h3 {
    font-size: 16px;
    margin-top: 0;
    color: #2c3e50;
}

.mjc-copy-link-wrapper {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.mjc-copy-link-wrapper input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #495057;
}

.mjc-copy-link-wrapper button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
}

.mjc-sub-info {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* LISTE DES ACTIONS (STYLE GLEAM) */
.mjc-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mjc-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.mjc-action-row:hover {
    border-color: #bdc3c7;
    transform: translateY(-1px);
}

.mjc-action-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mjc-action-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

/* Couleurs des icônes de réseaux sociaux */
.icon-google { background: #db4437; }
.icon-linkedin { background: #0077b5; }
.icon-facebook { background: #1877f2; }
.icon-tiktok { background: #010101; }
.icon-instagram { background: #e1306c; }

.mjc-action-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.mjc-action-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Badge de points (+1, +2, etc.) */
.mjc-points-badge {
    background: #f1f2f6;
    color: #57606f;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Statut validé */
.mjc-action-row.completed {
    border-color: #2ecc71;
    background: #f0fff4;
    cursor: default;
}

.mjc-action-row.completed .mjc-points-badge {
    background: #2ecc71;
    color: white;
}