:root {
    --primary: #FFD700;
    --bg: #f9fafb;
    --text: #ffffff;
    --subtext: #FFD700;
    --radius: 28px;
}

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}



body {
    background: url("arabesque.png"),
        linear-gradient(135deg, #c90e0e, #9c0f67);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0.75rem;
    margin: 0;
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #b8860b, #ffd700, #b8860b) 1;

}


.card {
    background: linear-gradient(340deg, #c90e0e, #9c0f67);
    max-width: 500px;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

p {
    text-align: center;
    color: var(--subtext);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

input,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 1rem;
    background-color: #f3f4f6;
    transition: 0.3s ease;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    background-color: white;
    outline: none;
}

button {
    width: 100%;
    background-color: #9c0f67;
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);

}

button:hover {
    background-color: #a70f6d;
}

.success-message {
    margin-top: 1rem;
    text-align: center;
    color: green;
}

@media (max-width: 500px) {
    .card {
        padding: 1.5rem;
    }
}