/* General Layout */
body,
html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    color: #343a40;
}

/* Main Container */


.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(90deg, rgba(227,174,36,1) 16%, rgba(227,174,36,1) 20%, rgba(38,40,97,1) 63%);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Watermark Logo */
section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: url('bg.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    animation: animateBg 5s linear infinite;
}

.custom-alert {
    margin-bottom: 15px;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}





/* HTML: <div class="loader"></div> */
.loadingIndicator {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid lightblue; /* Adjust the border thickness */
  border-top-color: orange; /* Sets the top border to orange for a dynamic spinning effect */
  animation: spin 1s infinite linear;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Centers the indicator within its parent */
}

@keyframes spin {
  to {
    transform: rotate(360deg); /* Smooth full rotation */
  }
}





.checkbox {
    font-size: 25px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.checkbox:hover {
    color: #007BFF;
}

h2 {
    font-size: 20px;
    color: #ff9b00;
    margin: 10px 0;
    text-align: center;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-outer {
    position: relative;
    z-index: 1;
}

/* Form Section */
#new-customer-section,
#returning-customer-section,
#guest-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* Guest Section Specific Styling */
#guest-section p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

#guest-section .input-box textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Input Box Styles */
.input-box {
    position: relative;
    margin-bottom: 20px;
}

.input-box input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.input-box textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 80px;
}

.input-box label {
    position: absolute;
    top: -10px;
    left: 10px;
    background: #fff;
    padding: 0 5px;
    font-size: 14px;
    color: #007bff;
    transition: all 0.3s;
}

.input-box .icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 18px;
}

/* Button Styles */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

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

.btn-outline-primary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Tab Navigation */
#myTabs {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
}

.nav-item {
    flex-grow: 1;
    text-align: center;
}

.nav-link {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.nav-link.active {
    background-color: #007bff;
    color: #fff;
}

#new-customer-tab,
#returning-customer-tab,
#guest-tab {
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 8px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
    width: 100%;
    font-size: 14px;
}

#new-customer-tab:hover,
#returning-customer-tab:hover,
#guest-tab:hover {
    background: linear-gradient(to bottom, #0056b3, #003e7a);
    cursor: pointer;
}

/* Footer */
.page-footer {
    background: linear-gradient(90deg, rgba(227,174,36,1) 16%, rgba(227,174,36,1) 20%, rgba(38,40,97,1) 63%);
    padding: 10px 0;
    text-align: center;
    color: #fff;
}

.page-footer p {
    margin: 0.5em 0;
}

header {
    font-size: 18px;
    font-weight: bold;
    color: #0056b3; /* Dark blue color */
    margin-bottom: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8); /* Light background for readability */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for effect */
}


/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        max-width: 100%;
    }

    .form-actions {
        flex-direction: column;
        gap: 0px;
    }

    button {
        width: 100%;
    }

    h2 {
        font-size: 18px;
    }

    .logo img {
        max-width: 80%;
    }

    #new-customer-tab,
#returning-customer-tab,
#guest-tab {
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 8px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
    width: 100%;
    font-size: 12px;
}

}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    h2 {
        font-size: 16px;
    }

    button {
        padding: 8px;
        font-size: 12px;
    }

    .nav-link {
        padding: 8px;
    }
}
