/* Styles spécifiques pour les nouvelles pages */

/* Header avec bouton retour */
.back-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    padding-top: 50px; /* Safe area */
}

.back-btn {
    color: var(--icon-purple);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 10px 24px 20px 24px;
    color: var(--text-white);
}

/* Page Paramètres */
.certified-badge {
    background-color: rgba(30, 80, 45, 0.4);
    color: #4ade80;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 24px 20px 24px;
}

.settings-list {
    display: flex;
    flex-direction: column;
}

.settings-item {
    display: flex;
    align-items: flex-start;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.settings-item:active {
    background-color: rgba(255, 255, 255, 0.05);
}

.settings-icon {
    color: var(--icon-purple);
    font-size: 20px;
    width: 30px;
    display: flex;
    justify-content: center;
    margin-right: 15px;
    margin-top: 2px;
}

.settings-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.settings-title {
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
}

.settings-subtitle {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.4;
}

/* Page Notifications */
.notification-card {
    background-color: #262746;
    margin: 0;
    padding: 16px 24px;
    border-bottom: 1px solid #111;
    position: relative;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.notif-date {
    color: var(--text-gray);
    font-size: 11px;
}

.notif-unread-dot {
    width: 8px;
    height: 8px;
    background-color: var(--icon-purple);
    border-radius: 50%;
}

.notif-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif-icon {
    color: var(--icon-purple);
    font-size: 20px;
}

.notif-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.notif-title {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 700;
}

.notif-text {
    color: #b0b0cc;
    font-size: 13px;
    line-height: 1.4;
}

.notif-btn {
    background-color: var(--fab-purple);
    color: #000;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    align-self: flex-end;
    margin-top: 8px;
    cursor: pointer;
}

/* Page Justificatif */
.subtitle {
    color: var(--text-white);
    font-size: 15px;
    margin: 0 24px 30px 24px;
    line-height: 1.4;
}

.input-group {
    margin: 0 24px 20px 24px;
    border: 1px solid #444;
    border-radius: 8px;
    overflow: hidden;
}

.input-label {
    background-color: #1a1a1a;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    border-bottom: 1px solid #444;
}

.custom-input {
    width: 100%;
    background-color: #222;
    border: none;
    padding: 16px;
    color: var(--text-white);
    font-size: 15px;
    outline: none;
}

.custom-input::placeholder {
    color: #666;
}

.info-box {
    margin: 0 24px;
    background-color: #1e2436;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-icon {
    color: #60a5fa;
    font-size: 16px;
    margin-top: 2px;
}

.info-text {
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
}

.bottom-btn-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background-color: #111;
}

.btn-continue {
    width: 100%;
    padding: 16px;
    background-color: #e5e5ea;
    color: #8e8e93;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* --- Styles pour la page Ajouter une carte --- */
.import-page-content {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.import-header-text {
    padding: 0 24px;
    margin-bottom: 24px;
}

.import-title {
    font-size: 26px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.25;
    color: var(--text-white);
    letter-spacing: -0.2px;
}

.import-subtitle {
    font-size: 15px;
    color: #e5e5ea;
    line-height: 1.4;
    margin: 0;
}

.import-cards-section {
    background-color: #1e1d2b; /* Dark blue-ish background matching screenshot */
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 -1px 0 rgba(255,255,255,0.05);
}

.import-card {
    background-color: #161616;
    border: 1px solid #282828;
    border-radius: 2px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.2s;
}

.import-card:active {
    background-color: #2a2a2a;
}

.import-card-img-wrapper {
    width: 54px;
    height: 36px;
    margin-right: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 2px;
    overflow: hidden;
    padding: 1px; /* Inner border effect */
}

.import-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1px;
}

/* Modification des couleurs des images pour ressembler aux vrais documents */
.permis-img {
    filter: hue-rotate(300deg) saturate(1.2) brightness(1.1); /* Rosé pour le permis */
}

.certificat-img {
    filter: sepia(1) hue-rotate(340deg) saturate(2) brightness(1.1); /* Orangé pour la carte grise */
}

.import-card-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.1px;
}

.import-bottom-fill {
    background-color: #1a1a1c;
    flex: 1;
}
