:root {
    --santam-blue: #003B7A;  /* Dark blue from logo */
    --santam-yellow: #FFB800; /* Bright yellow from selected state */
    --text-color: #333;
    --border-color: #ccc;
    --error-color: #dc3545;
    --light-gray: #f8f9fa;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f5f5;
    margin: 0;
    padding: 20px;
}

.inception-form-page {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container img {
    max-width: 200px;
    margin-bottom: 1rem;
}

.header-container h1 {
    color: var(--santam-blue);
    font-size: 1.5rem;
    margin: 0;
}

.questions-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.question-container {
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.question-container textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.question-container textarea:hover {
    border-color: var(--santam-yellow);
}

.question-container textarea:focus {
    outline: none;
    border-color: var(--santam-yellow);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25);
}

/* Form field labels */
.form-group label,
.question-container label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--santam-blue);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Common input styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-color);
    background-color: white;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Custom dropdown arrow for select */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23003B7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

select:hover {
    border-color: var(--santam-yellow);
}

select:focus {
    outline: none;
    border-color: var(--santam-yellow);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25);
}

select option {
    padding: 8px;
}

/* Focus states */
input:focus,
select:focus {
    outline: none;
    border-color: var(--santam-yellow);
    box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.2);
}

/* Placeholder styles */
::placeholder {
    color: #999;
    font-size: 0.9rem;
}

/* Error states */
.error {
    border-color: var(--error-color) !important;
    background-color: rgba(220, 53, 69, 0.05);
}

.error:focus {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2) !important;
}

.error-message {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    min-height: 24px;
    color: var(--error-color);
    font-weight: bold;
    text-align: center;
    border: none;
    background: none;
}

/* Radio button styling */
.two-radio-btn-container {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.single-select-checkbox {
    flex: 1;
    position: relative;
}

.single-select-checkbox input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.single-select-checkbox label {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.single-select-checkbox input[type="radio"]:checked + label {
    background-color: var(--santam-yellow);
    border-color: var(--santam-yellow);
    color: var(--santam-blue);
    font-weight: bold;
}

.single-select-checkbox input[type="radio"]:hover + label {
    border-color: var(--santam-yellow);
}

/* Button styling */
.btn-container {
    text-align: center;
    margin-top: 2rem;
}

button {
    background-color: var(--santam-blue);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #002b59;
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 59, 122, 0.3);
}

/* File upload styling */
.file-upload-container {
    border: 2px dashed var(--border-color);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    background-color: var(--light-gray);
    transition: all 0.2s ease;
}

.file-upload-container:hover {
    border-color: var(--santam-yellow);
}

.file-upload-container.dragover {
    border-color: var(--santam-yellow);
    background-color: rgba(255, 184, 0, 0.1);
}

.upload-icon {
    font-size: 2rem;
    color: var(--santam-blue);
    margin-bottom: 1rem;
}

.file-list {
    margin-top: 1rem;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.file-name {
    flex: 1;
    margin-right: 1rem;
}

.remove-file {
    color: var(--error-color);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.remove-file:hover {
    text-decoration: underline;
}

/* Success message styling */
.success-message {
    text-align: center;
    padding: 2rem;
    background-color: #d4edda;
    border-radius: 4px;
    color: #155724;
    margin-bottom: 1rem;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .inception-form-page {
        padding: 1rem;
    }

    .two-radio-btn-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-container button {
        width: 100%;
    }
}
