/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Logo and Header */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.logo-container h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

/* Form Styles */
.application-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
}

legend {
    padding: 0 10px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 18px;
}

legend i {
    margin-right: 8px;
    color: #3498db;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select,
textarea {
    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,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #3498db;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="file"] {
    width: 100%;
    padding: 10px 0;
}

small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #7f8c8d;
}

.declaration {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.declaration input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.declaration label {
    font-weight: normal;
    margin-bottom: 0;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Status Message Styles */
.status-message {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success {
    color: #27ae60;
}

.error {
    color: #e74c3c;
}

.status-message i {
    font-size: 50px;
    margin-bottom: 20px;
}

.status-message h2 {
    margin-bottom: 15px;
}

.status-message p {
    margin-bottom: 20px;
}

.status-message ul {
    text-align: left;
    margin: 20px auto;
    max-width: 400px;
}

.status-message li {
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .application-form {
        padding: 20px;
    }
    
    fieldset {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo-container h1 {
        font-size: 24px;
    }
    
    legend {
        font-size: 16px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="password"],
    select,
    textarea {
        padding: 10px;
        font-size: 14px;
    }
}