/* styles.css */

/* Reset simple */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #fff;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ==== LOGIN PAGE === */
.container {
    background: #fff;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.3);
    width: 350px;
    animation: fadeInSlide 0.7s ease forwards;
    text-align: center;
}

.container h1 {
    color: #FF6B00;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 25px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.container form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.container input[type="email"],
.container input[type="password"] {
    padding: 14px 18px;
    border: 2px solid #FF6B00;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.container input[type="email"]:focus,
.container input[type="password"]:focus {
    outline: none;
    border-color: #cc5200;
    box-shadow: 0 0 8px #ff7f20;
}

.container button {
    background: #FF6B00;
    border: none;
    padding: 15px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
}

.container button:hover {
    background: #cc5200;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(204, 82, 0, 0.6);
}

/* ==== DASHBOARD PAGE ==== */

.dashboard {
    background: #fff;
    width: 95%;
    max-width: 1100px;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(255, 136, 0, 0.25);
    padding: 30px 40px;
    animation: fadeInSlide 0.7s ease forwards;
}

h1 {
    color: #FF6B00; /* orangé */
    font-weight: 900;
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

a {
    display: inline-block;
    margin-bottom: 25px;
    text-decoration: none;
    color: #FF6B00;
    font-weight: 600;
    transition: color 0.3s ease;
}
a:hover {
    color: #cc5200;
}

p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    text-align: center;
    color: #555;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0 8px 16px rgba(255, 107, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    animation: fadeIn 1s ease forwards;
}

thead {
    background: #FF6B00;
    color: white;
}

thead th {
    padding: 12px 18px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

tbody tr {
    background: #fff;
    transition: background 0.3s ease;
    cursor: default;
}

tbody tr:hover {
    background: #fff2e6;
}

tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    color: #444;
}

/* Folder titles */
h2 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #FF6B00;
    font-size: 1.6rem;
    letter-spacing: 1.1px;
    border-left: 5px solid #FF6B00;
    padding-left: 12px;
}

/* Animations */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
/* ==== NAVBAR ==== */
nav {
    background: #FF6B00;
    color: white;
    padding: 16px 30px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInSlide 0.6s ease-in-out forwards;
}

nav strong {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav a {
    color: white;
    font-weight: 600;
    margin-left: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

nav a:hover {
    color: #ffe7d1;
    transform: translateY(-2px);
}

