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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

.subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.required {
    color: #F37C22;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: #F37C22;
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

input[type="file"]:hover {
    border-color: #F37C22;
}

/* Country search dropdown */
.country-dropdown {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 250px;
    overflow-y: auto;
    width: calc(100% - 2px);
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2px;
}

.country-option {
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.country-option:hover {
    background-color: #f8f9fa;
}

.country-option:active {
    background-color: #F37C22;
    color: white;
}

.form-group {
    position: relative;
}

#countrySearch {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#countrySearch:focus {
    outline: none;
    border-color: #F37C22;
}

.help-text {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

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

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: #F37C22;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    color: #666;
    text-align: center;
}

.submit-button {
    width: 100%;
    padding: 16px;
    background-color: #F37C22;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #d66a1a;
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.privacy-notice {
    margin-top: 16px;
    text-align: center;
}

.privacy-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.privacy-text a {
    color: #F37C22;
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
}

.success-message {
    text-align: center;
    padding: 60px 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

.success-message h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #222;
}

.success-message p {
    font-size: 16px;
    color: #666;
}

.closed-message {
    text-align: center;
    padding: 40px 20px;
}

.closed-message h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #c33;
}

.closed-message p {
    font-size: 16px;
    color: #666;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .form-wrapper {
        padding: 30px 20px;
    }

    h1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }
}
