* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background-color:darkred; */
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.header {
    background-color: darkred;
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('../img/match_aura_bg_registration.avif'); */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.form-container {
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid darkred;
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.photo-item {
    position: relative;
    display: inline-block;
}

.preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    width: 20px;
    height: 20px;
}

.section-title::before {
    content: '';
    width: 30px;
    height: 3px;
    background: darkred;
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.required {
    color: #e74c3c;
}

input,
select,
textarea {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input,
.checkbox-option input {
    width: auto;
    margin: 0;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.upload-section {
    border: 2px dashed darkred;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: rgba(212, 175, 55, 0.05);
    margin-bottom: 20px;
}

.upload-section h3 {
    color: darkred;
    margin-bottom: 15px;
}

.upload-btn {
    background: darkred;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: darkred;
    transform: translateY(-2px);
}

.submit-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
}

.submit-btn {
    background-color: darkred;
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.login-link {
    margin-top: 20px;
    color: #666;
}

.login-link a {
    color: darkred;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    color: darkred;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e1e5e9;
    border-radius: 3px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, darkred, #f4e4a6);
    width: 0%;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 2rem;
    }

    .form-container {
        padding: 20px;
    }
}