@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #F7F3EF;
    color: #2C1A0E;
    min-height: 100vh;
}

/* ── NAVBAR ── */
nav {
    background-color: #C8622A;
    padding: 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-logo {
    margin-top: 25px;
    height: 150px;
    width: auto;
    display: block;
    object-fit: contain;
}
/* ── GRILLE PAYS ── */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 48px auto;
    padding: 0 32px;
}

/* ── CARTES PAYS ── */
.country-card {
    background: #fff;
    border: 1px solid #F0D0B8;
    border-radius: 12px;
    padding: 28px 24px;
    text-decoration: none;
    color: #2C1A0E;
    display: block;
    transition: border-color 0.15s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(200, 98, 42, 0.08);
    border: none;
}

.country-card:hover {
    border-color: #E8946A;
    transform: translateY(-3px);
}

.country-card .flag {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
}

.country-card .country-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 6px;
}

.country-card .country-sub {
    font-size: 12px;
    color: #A0623A;
}

/* ── CARTES GRISÉES ── */
.country-card.disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
    filter: grayscale(30%);
}

.soon-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 20px;
    background: #FAE8D8;
    color: #7A3510;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ── PAGE JAPON ──*/
/* ── PAGE WRAPPER ── */
.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 32px;
}

/* ── PAGE HEADER ── */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid #F0D0B8;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #2C1A0E;
    margin-bottom: 4px;
}

.page-header p {
    font-size: 13px;
    color: #A0623A;
    font-weight: 300;
}

/* ── FORMULAIRE ── */
.form-section {
    background: #FAE8D8;
    border: 1px solid #F0D0B8;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 36px;
}

.form-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    color: #7A3510;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 11px;
    font-weight: 500;
    color: #A0623A;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #2C1A0E;
    background: #fff;
    border: 1px solid #F0D0B8;
    border-radius: 7px;
    padding: 8px 12px;
    outline: none;
    transition: border-color 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #E8946A;
}

.form-group textarea {
    resize: vertical;
    min-height: 72px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.btn-add {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #C8622A;
    border: none;
    border-radius: 7px;
    padding: 9px 22px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.btn-add:hover {
    background: #B0531F;
}

.btn-add:active {
    transform: scale(0.98);
}

/* ── TABLEAU ── */
.table-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    color: #7A3510;
    margin-bottom: 16px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #F0D0B8;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
}

thead {
    background: #FAE8D8;
}

thead th {
    padding: 11px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    color: #A0623A;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid #F0D0B8;
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid #FBF0E8;
    transition: background 0.1s;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: #FDF4EC;
}

tbody td {
    padding: 11px 16px;
    color: #2C1A0E;
    vertical-align: middle;
}

/* ── BADGES TYPE ── */
.badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.badge-restaurant { background: #FDE8DC; color: #8C3A18; }
.badge-activite   { background: #E6F1FB; color: #0C447C; }
.badge-temple     { background: #EAF3DE; color: #2B5A0A; }
.badge-musee      { background: #EEEDFE; color: #3C3489; }
.badge-rue        { background: #F1EFE8; color: #444441; }
.badge-monument   { background: #FAEEDA; color: #633806; }
/* --- LOGIN --- */
        .login-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }
 
        .login-box {
            background: #fff;
            border: 1px solid #F0D0B8;
            border-radius: 16px;
            padding: 40px 36px;
            width: 100%;
            max-width: 400px;
            box-shadow: 0 4px 24px rgba(200, 98, 42, 0.08);
        }
 
        .login-logo {
            display: block;
            height: 80px;
            margin: 0 auto 16px;
        }
 
        .login-title {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: 400;
            color: #2C1A0E;
            text-align: center;
            margin-bottom: 6px;
        }
 
        .login-sub {
            font-size: 13px;
            color: #A0623A;
            text-align: center;
            margin-bottom: 28px;
            font-weight: 300;
        }
 
        .login-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
            margin-bottom: 16px;
        }
 
        .login-group label {
            font-size: 11px;
            font-weight: 500;
            color: #A0623A;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }
 
        .login-group input {
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            color: #2C1A0E;
            background: #FDF6F0;
            border: 1px solid #F0D0B8;
            border-radius: 8px;
            padding: 10px 14px;
            outline: none;
            transition: border-color 0.15s;
        }
 
        .login-group input:focus {
            border-color: #E8946A;
            background: #fff;
        }
 
        .login-btn {
            width: 100%;
            font-family: 'DM Sans', sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: #fff;
            background: #C8622A;
            border: none;
            border-radius: 8px;
            padding: 11px;
            cursor: pointer;
            transition: background 0.15s, transform 0.1s;
            margin-top: 8px;
        }
 
        .login-btn:hover {
            background: #B0531F;
        }
 
        .login-btn:active {
            transform: scale(0.98);
        }
 
        .login-error {
            background: #FDE8DC;
            color: #8C3A18;
            border-radius: 8px;
            padding: 10px 14px;
            font-size: 13px;
            text-align: center;
            margin-bottom: 16px;
            display: none;
        }
 
        .login-error.visible {
            display: block;
        }

