* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    color: #282828;
    font-size: 2.5em;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

h2 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 10px;
}

h3 {
    color: #002975;
    margin-bottom: 15px;
    font-size: 1.3em;
}

h4 {
    color: #34495e;
    margin: 25px 0 15px 0;
    font-size: 1.1em;
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 5px;
}

.form-section {
    margin-bottom: 30px;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #3e4858;
}

.field-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
    font-style: italic;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 26px;
    border-radius: 14px;
    border: none;
    background-color: #f2f2f2;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

/* Custom dropdown arrow positioning */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' 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 1rem center;
    background-size: 1em;
    padding-right: 3rem;
    cursor: pointer;
}

/* Brief type dropdown specific styling */
#briefTypeSelect {
    font-weight: 500;
    color: #3e4858;
}

#briefTypeSelect option {
    padding: 8px;
    font-weight: 500;
}

#briefTypeSelect option:first-child {
    color: #6c757d;
    font-style: italic;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Think, Feel, Do sections */
.think-feel-do {
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    margin-top: 10px;
}

.tfd-item {
    margin-bottom: 15px;
}

.tfd-item:last-child {
    margin-bottom: 0;
}

.tfd-item label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    font-size: 14px;
}

.tfd-item textarea {
    min-height: 60px;
    font-size: 14px;
}

.sub-question {
    margin-top: 15px;
    padding-left: 10px;
    border-left: 3px solid #e9ecef;
}

.sub-question label {
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 5px;
    font-size: 14px;
    display: block;
}

.sub-question input {
    margin-top: 5px;
}



.brief-form {
    padding: 25px;
    border-radius: 6px;
    margin-top: 20px;
}

.hidden {
    display: none;
}

.download-btn, .submit-btn {
    width: 50%;
    padding: 15px;
    background-color: #f9098d;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #f947a9;
}

.submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.success-message {
    text-align: center;
    color: #282828;
    padding: 20px;
    border-radius: 6px;
}

.success-message h3 {
    color: #282828;
    margin-bottom: 10px;
}

.coming-soon {
    font-style: italic;
    color: #7f8c8d;
    text-align: center;
    padding: 20px;
    background-color: #ecf0f1;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    

    
    h1 {
        font-size: 2em;
    }
    
    .think-feel-do {
        padding: 10px;
    }
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3498db;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* File upload styles */
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #ddd;
    border-radius: 14px;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

input[type="file"]:hover {
    border-color: #1976d2;
    background: #f0f7ff;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin: 5px 0;
    background: #f5f5f5;
    border-radius: 4px;
    border-left: 3px solid #1976d2;
}

.file-name {
    font-weight: 500;
    color: #333;
}

.file-size {
    color: #666;
    font-size: 0.9em;
}

.file-remove {
    background: #ff4444;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
}

.file-remove:hover {
    background: #cc0000;
}

.upload-progress {
    margin-top: 10px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 5px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    font-size: 0.9em;
    color: #666;
    text-align: center;
} 