/* ======== General Layout ======== */
body {
    background-color: #f8fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1e3a8a;
    min-height: 100vh;
    padding-top: 40px;
}

.container {
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.1);
    padding: 30px 40px;
}

/* ======== Header ======== */
.header {
    text-align: center;
    border-bottom: 2px solid #0d6efd;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0d6efd;
}

.btn-link {
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 500;
}

.btn-link:hover {
    color: #0d6efd;
}

/* ======== Form Section ======== */
.form-section {
    margin-bottom: 35px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #0d6efd;
}

.form-section h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #1e3a8a;
}

input, select, textarea {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px;
    width: 100%;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
    outline: none;
}

/* ======== Buttons ======== */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e3a8a;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

/* ======== Image Preview ======== */
#imagePreview img {
    border-radius: 8px;
    border: 2px solid #0d6efd;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    .form-row {
        flex-direction: column;
    }
}
