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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #c41e3a 0%, #8a1422 100%);
    min-height: 100vh;
    padding: 30px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border: 6px solid #ffd700;
}

.header {
    background: linear-gradient(135deg, #c41e3a 0%, #8a1422 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.header img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    object-fit: contain;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

.form-container {
    padding: 50px 40px;
}

.form-title {
    color: #c41e3a;
    font-size: 1.8rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 4px solid #ffd700;
    text-align: center;
    font-weight: 700;
}

.field-group {
    margin-bottom: 30px;
}

.field-label {
    display: block;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.field-input {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.05rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.field-input:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.2);
}

.field-input.field-error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.2);
}

.field-input::placeholder {
    color: #a0aec0;
}

.field-textarea {
    min-height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: #ffd700;
    color: #c41e3a;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #e0b800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.required::after {
    content: " *";
    color: #e53e3e;
}

.footer {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
    border-top: 2px solid #eee;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    border: 2px solid #c41e3a;
}

.success-message h3 {
    color: #c41e3a;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .form-container {
        padding: 35px 25px;
    }
    
    .header {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header img {
        height: 100px;
        width: 100px;
    }
}