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

body {
    background: url('indian_wedding.webp') center/cover no-repeat fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

.container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

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

input[type="text"],
input[type="date"] {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="date"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.1);
}

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

.submit-btn:hover {
    background-color: #45a049;
}

.submit-btn:active {
    background-color: #3d8b40;
}

.result-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    display: none;
}

.result-section.show {
    display: block;
}

.error-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 4px;
    color: #c33;
    display: none;
}

.error-section.show {
    display: block;
}

.result-item {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

.result-item strong {
    color: #4CAF50;
}

.wedding-info {
    margin-bottom: 30px;
}

.info-card,
.success-card {
    padding: 20px;
    background-color: #f0f8ff;
    border-left: 4px solid #4CAF50;
    border-radius: 4px;
    margin-bottom: 20px;
}

.info-card h3,
.success-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.info-card p,
.success-card .result-item {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.back-btn {
    display: inline-block;
    width: calc(100% - 24px);
    padding: 12px;
    margin-top: 10px;
    background-color: #999;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #777;
}

input[type="file"] {
    padding: 10px 12px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

input[type="file"]:focus {
    outline: none;
    border-color: #4CAF50;
}

small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}
