@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

body {
    background: url('../images/login.JPG') no-repeat center center/cover;
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Overlay to darken background */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* dark transparent layer */
    z-index: 1;
}

/* Place content above the overlay */
.wedding-title, .card {
    position: relative;
    z-index: 2;
}

.wedding-title {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 10;
}

.card h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.input-group-text {
    background: #f0f0f0;
    border: none;
    border-radius: 10px 0 0 10px;
}

.form-control {
    border: none;
    background: #f9f9f9;
    border-radius: 0 10px 10px 0;
    padding: 12px;
}

.form-control:focus {
    box-shadow: none;
    background: #fff;
    border: 1px solid #86b7fe;
}

.btn-success {
    border-radius: 10px;
    background-color: #1b7895;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-success:hover {
    background-color: #155263;
}

.btn-outline-secondary {
    border-radius: 0 10px 10px 0;
}

.index-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #6c757d;
    transition: background 0.3s;
}

.index-btn:hover {
    background-color: #e2e6ea;
    color: #495057;
}

body.swal2-shown {
    padding-bottom: 0 !important;
    height: 100vh !important; 
}
