/* Registration Form Styling */
:root {
    --primary-color: #183c91;
    --primary-light: #2c51b0;
    --primary-dark: #122d70;
    --primary-fade: rgba(24, 60, 145, 0.05);
    --text-color: #333;
    --text-muted: #6c757d;
    --light-gray: #f5f5f5;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
}

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--light-gray);
    line-height: 1.6;
    padding-bottom: 30px;
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Form Header */
h5 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-fade);
    padding-bottom: 15px;
}

h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 25px 0 15px;
    font-weight: 600;
}

/* Form Field Styling */
.row {
    margin-bottom: 15px;
}

label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: var(--text-color);
}

label[for*="required"]::after,
label[for*="*"]::after {
    content: " *";
    color: var(--danger);
}

.form-control {
    height: auto;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(24, 60, 145, 0.15);
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    margin-bottom: 15px;
}

textarea {
    min-height: 120px;
}

.form-text {
    margin-top: -10px;
    display: block;
    font-size: 0.85rem;
}

/* Required fields note */
.required-note {
    font-size: 0.9rem;
    margin: 20px 0;
    color: var(--text-muted);
}

.required-note strong {
    color: var(--primary-color);
}

/* Submit Button */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Custom Checkbox */
input[type="checkbox"] {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    background-color: white;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    background-color: var(--primary-color);
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

label[for="av"] {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 25px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table thead th {
    background-color: var(--primary-fade);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 16px;
    border-bottom: 2px solid rgba(24, 60, 145, 0.1);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: var(--primary-fade);
}

.table tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 16px;
    vertical-align: middle;
}

.table td input[type="number"] {
    text-align: center;
    max-width: 80px;
    margin: 0 auto;
    display: block;
}

/* Price Style */
.as-bg-gray {
    background: var(--primary-fade);
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 4px;
}

.as-bg-gray span {
    padding: 5px 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
}

.as-total {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.as-total::before {
    content: '€ ';
}

.media-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.media-body {
    font-size: 0.9rem;
}

.text-success {
    color: var(--success) !important;
}

/* Totals row styling */
.table tr:nth-last-child(3) td,
.table tr:nth-last-child(2) td,
.table tr:last-child td {
    border-top: 1px solid var(--primary-fade);
    background-color: var(--light-gray);
}

.table tr:last-child td {
    font-weight: 600;
    background-color: var(--primary-fade);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container-fluid {
        padding: 15px;
    }
    
    .form-control {
        padding: 10px;
    }
    
    h5 {
        font-size: 1.5rem;
    }
    
    .table thead th {
        font-size: 0.8rem;
    }
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Error styling */
.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: var(--danger);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
} 