:root {
    --primary-color: #e8c4c4;
    --secondary-color: #a0522d;
    --accent-color: #d4a59a;
    --text-color: #5a4a42;
    --light-color: #f9f5f2;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.container {
    max-width: 700px;
    width: 100%;
    margin: 30px auto;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}



.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.form-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(232, 196, 196, 0.1), rgba(255, 255, 255, 0.9));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
}

.form-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group .input-wrapper {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0d6d1;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: white;
    box-shadow: 0 2px 10px rgba(212, 165, 154, 0.2);
}

.form-group .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #c7b8b1;
    transition: var(--transition);
}

.invalid-feedback {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.is-invalid {
    border-color: #e74c3c !important;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 165, 154, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    box-shadow: 0 6px 20px rgba(212, 165, 154, 0.6);
    transform: translateY(-2px);
}

.form-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.floral-decoration {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

.floral-1 {
    top: -50px;
    left: -50px;
    font-size: 200px;
    color: var(--secondary-color);
}

.floral-2 {
    bottom: -50px;
    right: -50px;
    font-size: 200px;
    color: var(--accent-color);
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .container {
        margin: 20px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0 !important;
    }
}




.container {
    max-width: 900px;
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.form-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(142, 68, 173, 0.25);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.floral-decoration {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.2;
    font-size: 3rem;
    z-index: -1;
}

.floral-1 {
    top: 20px;
    left: 20px;
}

.floral-2 {
    bottom: 20px;
    right: 20px;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}


