/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Body Centering */
body.registration-page {
    background-image: url('images/b7.png') !important;
    background-size: cover !important; /* 'cover' is better than 100% 100% to prevent squishing */
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #f7f2e7;
    font-family: 'Poppins', sans-serif;
    
    /* Centering the card */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* 3. Registration Card */
.registration-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    padding: 50px 40px;
    border-radius: 25px;
    width: 100%;
    max-width: 400px;
    margin: 20px;
    
    border: 1px solid rgba(255, 223, 131, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* 4. Text & Logo Styles */
.registration-logo {
    font-family: 'Playfair Display', serif;
    color: #433422;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #533d2e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 0.9rem;
    color: #533d2e;
    opacity: 0.7;
    margin-bottom: 30px;
}

/* 5. Inputs */
.input-group {
    margin-bottom: 15px;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(255, 223, 131, 0.7);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #d4a373;
    background: #fff;
}

/* 6. Button */
.btn-register {
    width: 100%;
    padding: 14px;
    background: linear-gradient(45deg, #d4a373, #e6c27a);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    transition: 0.3s;
}

.btn-register:hover {
    background: #c5a059;
    transform: translateY(-2px);
}

/* 7. Success/Error Banners */
.success-banner {
    color: #2d5a27;
    background: #e8f5e9;
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.error-banner {
    color: #d9534f;
    background: #ffe5e5;
    padding: 10px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.8rem;
}

/* 8. Footer */
.registration-footer {
    margin-top: 25px;
    font-size: 0.85rem;
    color: #433422;
}

.registration-footer a {
    color: #a67c52;
    text-decoration: none;
    font-weight: bold;
}

.back-shop {
    display: inline-block;
    margin-top: 15px;
    color: #888 !important;
    font-size: 0.8rem;
}