* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #eef2f5;
    display: flex;
    justify-content: center;
    padding: 30px 15px;
}

.form-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 820px;
    padding: 35px 40px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #c0392b;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #ebf3f7;
    margin-bottom: 20px;
}

.logo-box {
    display: flex;
    align-items: center;
}

.uni-logo {
    width: 95px;
    height: auto;
    object-fit: contain;
}

.organization-title {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.hall-logo {
    width: 85px;
    height: auto;
    object-fit: contain;
}

.title-text h2 {
    font-size: 22px;
    color: #1a252f;
    font-weight: 700;
    line-height: 1.3;
}

.title-text h3 {
    font-size: 16px;
    color: #c0392b;
    font-weight: 600;
    margin-top: 2px;
}

.title-text p {
    font-size: 13px;
    color: #7f8c8d;
}

.banner {
    background: linear-gradient(135deg, #c0392b, #962d22);
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(192, 57, 43, 0.2);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 14px;
}

.form-group {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 6px 12px;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-group:focus-within {
    border-color: #3498db;
    background-color: #ffffff;
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 14px;
}

.form-group label {
    font-weight: 600;
    color: #34495e;
    white-space: nowrap;
    margin-right: 12px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    color: #2c3e50;
    outline: none;
}

.form-group input[type="file"] {
    font-size: 13px;
    cursor: pointer;
}

.payment-info-box {
    background-color: #fce4ec;
    border-left: 4px solid #d81b60;
    color: #880e4f;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 2px;
    margin-bottom: 12px;
}

.payment-info-box span {
    font-weight: bold;
    color: #c2185b;
}

.submit-btn {
    width: 100%;
    background-color: #c0392b;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #a93226;
}

.status-msg {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    display: none;
    text-align: center;
}

.status-msg.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-msg.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.footer {
    margin-top: 30px;
    background-color: #16a085;
    color: #ffffff;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    border-radius: 4px;
}

@media screen and (max-width: 576px) {
    body { padding: 10px; }
    .form-card { padding: 18px 15px; }
    .header { flex-direction: column; text-align: center; gap: 15px; }
    .organization-title { flex-direction: column; text-align: center; gap: 10px; }
    .uni-logo { width: 85px; }
    .hall-logo { width: 75px; }
    .title-text h2 { font-size: 18px; }
    .form-row { flex-direction: column; gap: 14px; margin-bottom: 14px; }
    .form-group { flex-direction: column; align-items: flex-start; padding: 8px 10px; }
    .form-group label { margin-right: 0; margin-bottom: 4px; font-size: 13px; }
    .form-group input { width: 100%; padding: 4px 0; }
    .footer { font-size: 11px; }
}