@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600&display=swap');

:root {
    --primary-color: #3498db;
    --primary-hover: #2980b9;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --text-color: #333333;
    --border-color: #dddddd;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 40px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

h1 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn,
input[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white !important;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    width: 100%;
}

.btn:hover,
input[type="submit"]:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn:active,
input[type="submit"]:active {
    transform: translateY(0);
}

.btn-small {
    width: auto !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #c0392b;
}

.checkbox-list {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin: 10px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    cursor: pointer;
}

.checkbox-item input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.checkbox-item span {
    font-weight: 400;
}

.no-bg {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.list {
    margin-bottom: 20px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
    gap: 10px;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
}

.list-item:hover {
    background: #fcfcfc;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item .label {
    font-weight: 600;
    color: var(--secondary-color);
}

.list-item .value {
    color: var(--text-color);
}

.actions {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.actions .btn {
    width: auto;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.link:hover {
    text-decoration: underline;
}

hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid var(--border-color);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 20px;
}

.message {
    padding: 20px;
    background: #e8f4fd;
    border-radius: 4px;
    margin-bottom: 25px;
    color: #2c3e50;
}

.imageGestion {
    display: flex;
    align-items: center;
}

.imageGestion img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.list-item input[type="text"] {
    flex: 1;
    width: auto;
}