/* Couleurs RCI */
:root {
    --rci-red: #d32f2f;
    --rci-dark-red: #b71c1c;
    --rci-light-gray: #f5f5f5;
    --rci-dark-gray: #424242;
    --rci-white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--rci-light-gray) 0%, #e0e0e0 100%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    margin: 50px auto;
    background: var(--rci-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, var(--rci-red) 0%, var(--rci-dark-red) 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h2 {
    margin: 0;
    font-weight: 300;
    font-size: 28px;
}

.header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.form-content {
    padding: 40px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--rci-dark-gray);
}

input, select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--rci-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--rci-red) 0%, var(--rci-dark-red) 100%);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.links {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.links a {
    color: var(--rci-red);
    text-decoration: none;
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

.success {
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.error {
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Dashboard styles */
.dashboard-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.dashboard-header {
    background: var(--rci-white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--rci-red);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--rci-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    border-top: 4px solid var(--rci-red);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h4 {
    color: var(--rci-red);
    font-size: 22px;
    margin: 0 0 10px 0;
}

.service-card .price {
    font-size: 28px;
    font-weight: bold;
    color: var(--rci-dark-gray);
    margin: 10px 0;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}
