/* Wedding-themed background */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('../images/wedding-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.black-text {
    color: black;
    text-shadow: none;
    background: #fff;
    padding: 18px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: inline-block;
    margin: 24px 32px;
}

.spinner-text {
    color: white;
    font-size: 24px;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
/* Modal styles */
#imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#imageModal img {
    max-width: 90%;
    max-height: 80%;
    border: 5px solid white;
    border-radius: 10px;
}

#modalButtons {
    margin-top: 20px;
    text-align: center;
}

/* #modalButtons button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#modalButtons button:hover {
    background-color: #0056b3;
} */

/* Gallery styles */
#gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#gallery img {
    max-width: 150px;
    border: 3px solid white;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.1);
}

.spinner {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    z-index: 9999; /* Ensure it's above all elements */
   
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.spinner i {
    font-size: 50px;
    margin-bottom: 20px;
    color: white;
}

.spinner p {
    color: white;
    font-size: 24px;
    margin: 0;
}

/* stil upload gumba*/
#fileInput {
    opacity: 0;
    width: 1px;
    height: 1px;
    position: absolute;
    left: -9999px;
}

label[for="user"] {
    /* background-color: #007bff;*/
    color: #000000;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 8px 16px;
    font-size: 16px;
    margin-right: 10px;
    display: inline-block;
}

#modalLeftArrow, #modalRightArrow {
    font-size: 64px !important;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 8px #000, 0 0 10px #007bff;
    filter: drop-shadow(0 0 8px #007bff);
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
}
#modalLeftArrow:hover, #modalRightArrow:hover {
    transform: scale(1.15);
    color: #007bff;
}

/* .user-select-combo {
    display: inline-flex;
    align-items: center;
    background: #007bff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0;
    overflow: hidden;
} */

/* .user-select-label {
    color: #fff;
    background: #007bff;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px 0 0 5px;
    margin: 0;
    display: flex;
    align-items: center;
} */

/* .user-select-dropdown {
    background: #007bff;
    color: #fff;
    border: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 0 5px 5px 0;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font-weight: bold;
} */
.user-select-dropdown option {
    color: #000;
}

/* Modern button style (no blue background) */
#fileLabel,
#usernameModal button,
#modalButtons button,
 button {
    display: inline-block;
    padding: 10px 22px;
    background: #ffffff;
    color: #222;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #ccc;
    margin: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: background 0.2s, color 0.2s, border 0.2s;
}

#fileLabel:hover,
#usernameModal button:hover,
#modalButtons button:hover,
 button:hover {
    background: #e0e0e0;
    color: #111;
    border-color: #888;
}

#modalButtons button[style*="background-color: red"] {
    background: #ffdddd !important;
    color: #b00 !important;
    border-color: #b00 !important;
}

#modalButtons button[style*="background-color: #6c757d"] {
    background: #ededed !important;
    color: #444 !important;
    border-color: #aaa !important;
}

/* Modern user select combo */
.user-select-combo {
    display: inline-flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0 8px 0 0;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.user-select-label {
    color: #222;
    background: transparent;
    padding: 8px 16px 8px 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px 0 0 6px;
    margin: 0;
    display: flex;
    align-items: center;
}

.user-select-dropdown {
    background: #fff;
    color: #222;
    border: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 0 6px 6px 0;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
}

.user-select-dropdown:focus {
    background: #ededed;
    border: none;
}