/* Background image styles for Lakeview Resort & Spa */

/* Common background style for login, signup, chatbot, reservations, and profile pages */
body.resort-background {
    background-image: url('/static/images/lakeview_reosrt_and_spa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    color: #ffffff; /* Default text color for all content */
}

/* Add an overlay to improve readability of content */
body.resort-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for better contrast */
    z-index: -1;
}

/* Make content containers more visible against the background - with single blur effect */
.login-container,
.signup-container,
.reservation-container,
.profile-container,
.booking-container,
main {
    background-color: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
}

/* Text enhancement for better visibility */
.login-container h1, 
.signup-container h1, 
.profile-container h2,
.booking-container h1,
main h1, main h2, main h3,
.form-group label,
label {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    font-weight: 600 !important;
}

/* Make paragraphs and other text content more visible */
p:not(.chat-messages p):not(.message-content):not(.message p), 
.small-label, 
div:not(.btn):not(.form-group):not(.chat-messages):not(.message):not(.message-content):not(.user-message):not(.bot-message):not(.thinking-text):not(.suggestion-item):not(.confirmation-message):not(.booking-summary) {
    color: #ffffff !important;
    text-shadow: 0 0.5px 0.5px rgba(0, 0, 0, 0.5) !important;
}

/* EXCEPTIONS FOR CHAT MESSAGES - Make chat message text BLACK */
.message, 
.message *, 
.user-message, 
.bot-message,
.message-content,
.thinking-text,
.suggestion-item,
.confirmation-message,
.booking-summary,
.chat-messages p,
.chat-messages div {
    color: #000000 !important;
    font-weight: bold !important;
    text-shadow: none !important;
}

/* Apply simplified styling to profile sections - REMOVED BLUR */
.profile-section, 
.chat-history-section,
.form-section {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Enhanced visibility for section headings */
.profile-section h3, 
.chat-history-section h3,
.form-section h4 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    font-weight: 600 !important;
}

/* Special transparent styling for chat container - KEPT SINGLE BLUR LAYER */
.chat-container {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

/* Make chat components transparent */
.chat-messages {
    background-color: transparent !important;
}

/* REMOVED BLUR for chat header */
.chat-header {
    background: rgba(26, 95, 122, 0.8) !important;
}

/* REMOVED BLUR for chat form */
.chat-form {
    background-color: rgba(245, 245, 245, 0.2) !important;
}

/* Improved styling for headers - REMOVED BLUR */
header {
    background-color: rgba(29, 115, 115, 0.8) !important;
}

/* Enhance the visibility of input fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
select,
textarea {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
}

/* Focus state for input fields */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 0 2px rgba(29, 115, 115, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.25) !important;
}

/* Special styling for select dropdowns */
select {
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 30px !important;
}

/* Special styling for date inputs */
input[type="date"] {
    color-scheme: dark !important; /* Set dark color scheme for date picker */
}

/* Special styling for the calendar date picker */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) !important; /* Make the calendar icon white */
    opacity: 0.8 !important;
}

/* Ensure text is visible in input placeholders */
::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Help text and small labels */
.small-label, small {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 400 !important;
}

/* Strong text emphasis */
strong, b {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Enhance button styling */
.btn {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) !important;
    font-weight: 600 !important;
}

.btn-primary {
    background-color: rgba(29, 115, 115, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background-color: rgba(29, 115, 115, 1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Style for links to ensure visibility */
a:not(.btn) {
    color: #9fe0ff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5) !important;
    transition: color 0.3s ease !important;
}

a:not(.btn):hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Room type containers - REMOVED BLUR */
.room-type,
.room-preview,
.modal-content {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Modal title styling */
.modal-content h2, 
.modal-content h3 {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    font-weight: 700 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
}

/* Modal close button */
.close {
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.close:hover {
    color: #ffffff !important;
}

/* Enhance visibility of room price and availability info */
.room-price, .availability-text {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Styling for the selected room */
.room-type.selected {
    background-color: rgba(29, 115, 115, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(29, 115, 115, 0.5) !important;
}

/* Error and success messages */
.error-message {
    background-color: rgba(229, 62, 62, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(229, 62, 62, 0.4) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) !important;
}

.success-message {
    background-color: rgba(56, 161, 105, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(56, 161, 105, 0.4) !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.resort-background {
        background-attachment: scroll;
    }
} 