:root {
    --main: #1e3a8a;
    --bg: #f5f6fa;
    --text: #1a1a1a;
    --muted: #666;
    --white: #fff;

    --folder-top: #ffd65a;
    --folder-body: #ffca3a;
    --folder-hover: #ffb703;
}

body {
    margin: 0;
    background: var(--bg);
    font-family: "Segoe UI", Roboto, system-ui, sans-serif;
    color: var(--text);
}

/* HEADER -------------------------------------------------------- */
.header {
    background: var(--main);
    padding: 14px 0;
    color: var(--white);
}

.header-inner {
    max-width: 1600px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.logo-text {
    font-size: 22px;
    font-weight: 500;
}

/* MAIN ---------------------------------------------------------- */
.main {
    padding: 60px 20px;
}

.drive-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.drive-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.drive-subtitle {
    color: var(--muted);
    margin-bottom: 28px;
}

.drive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* FOLDER ICON -------------------------------------------------- */

.drive-folder {
    text-decoration: none;
    color: var(--text);
}

.folder-icon {
    width: 120px;
    margin: auto;
    position: relative;
    cursor: pointer;
    transition: transform .2s;
}

.folder-top {
    width: 70px;
    height: 18px;
    background: var(--folder-top);
    border-radius: 6px 6px 0 0;
    position: absolute;
    top: -10px;
    left: 0;
}

.folder-body {
    width: 120px;
    height: 80px;
    background: var(--folder-body);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.drive-folder:hover .folder-body {
    background: var(--folder-hover);
}

.drive-folder:hover .folder-icon {
    transform: translateY(-4px);
}

.folder-label {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 600;
}

/* FOOTER -------------------------------------------------------- */
.footer {
    margin-top: 100px;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    color: #8B0000; 
    font-weight: bold; 
}

.footer-note {
    margin-top: 80px; 
    font-size: 18px;
    color: var(--muted);
#    animation: clignoter 1s infinite; 
    font-weight: bold; 
}

# @keyframes clignoter {
 #   0%, 100% { opacity: 1; }
  #  50% { opacity: 0; }
# }






/* ajout style pour sous-dossiers */
/* LISTE DE FICHIERS */
.list-container {
    max-width: 800px;
    margin: auto;
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.file-item {
    background: var(--white);
    padding: 18px 20px;
    margin-bottom: 16px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.file-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.file-icon.pdf { background: var(--pdf); }

.file-name {
    font-size: 17px;
    font-weight: 500;
}

.file-actions {
    display: flex;
    gap: 12px;
}

.action {
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.action.view {
    background: var(--main);
    color: var(--white);
}

.action.download {
    background: #4b5563;
    color: var(--white);
}

.action:hover {
    opacity: 0.85;
}

.back {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: var(--main);
    font-weight: 500;
}

