 :root {
    --primary-color: #1a5f7a;
    --secondary-color: #57cc99;
    --accent-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f7ff;
    color: #333;
    line-height: 1.6;
}

.header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    border-bottom: 5px solid var(--accent-color);
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo {
    width: 70px;
    height: 70px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 2px solid var(--accent-color);
}

.logo i {
    color: var(--primary-color);
    font-size: 30px;
}

.form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.form-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-weight: 600;
}

.section-title {
    background-color: #e9f7fe;
    padding: 12px 15px;
    border-left: 5px solid var(--primary-color);
    margin: 25px 0 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.photo-upload-section {
    background-color: #f8f9fa;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.photo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
}

.photo-box {
    width: 150px;
    text-align: center;
}

.photo-preview {
    width: 120px;
    height: 150px;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 10px;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-upload-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.uploaded-files {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.file-name {
    flex-grow: 1;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: #6c757d;
    font-size: 0.9rem;
    margin-right: 10px;
}

.remove-file {
    color: #dc3545;
    cursor: pointer;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(87, 204, 153, 0.25);
}

.required::after {
    content: " *";
    color: #dc3545;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #0f4c64;
    transform: translateY(-2px);
}

.btn-reset {
    background-color: #6c757d;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    transition: all 0.3s;
}

.btn-reset:hover {
    background-color: #545b62;
}

.form-note {
    background-color: #fff3cd;
    border: 1px solid #ffecb5;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 15px 0;
    color: #856404;
}

.form-note i {
    color: #ffc107;
    margin-right: 8px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

@media (max-width: 768px) {
    .photo-container {
        flex-direction: column;
        align-items: center;
    }

    .form-container {
        padding: 15px;
    }
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.page-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.page-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: 600;
    color: #6c757d;
}

.page-step.active {
    background-color: var(--primary-color);
    color: white;
}

.form-page {
    display: none;
}

.form-page.active {
    display: block;
}

/* Add these styles to your existing CSS */

.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.text-danger {
    color: #dc3545 !important;
}

.form-check-input.is-invalid {
    border-color: #dc3545;
}

.form-check-input.is-invalid:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-check-input.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 500;
}














