/* Import Wedding Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;700&family=Poppins:wght@400;600&display=swap');

/* Root Color & Font Variables */
:root {
    --primary-color: #f6c59c;
    --primary-color-hover: #e5b488;
    --bg-color: #fffaf5;
    --text-color: #333;
    --border-radius: 20px;
    --input-radius: 30px;
    --shadow: 0 8px 30px rgba(0,0,0,0.1);
    --font-family: 'Poppins', sans-serif;
    --font-logo: 'Great Vibes', cursive;
    --font-heading: 'Playfair Display', serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #fffaf5, #fdebe0);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo Styling */
.logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo img {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Login Container */
.container {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 420px;
    text-align: center;
}

/* Heading */
.container h2 {
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
}

/* Form Input */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    margin: 14px 0;
    border-radius: var(--input-radius);
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Submit Button */
button {
    width: 100%;
    padding: 16px 20px;
    margin-top: 25px;
    border-radius: var(--input-radius);
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: var(--primary-color-hover);
}

/* Error Message */
.error {
    background: #ffe0e0;
    border: 1px solid #ffb3b3;
    color: #b30000;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Footer */
.footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .container h2 {
        font-size: 1.6rem;
    }
}
