/* Golf Camp Booking Base Styles */
.gcb-app {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    min-height: 650px;
    color: #333;
}

.gcb-step {
    padding: 20px;
}

.gcb-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.gcb-header h2 {
    font-size: 1.2rem;
    color: #004F34;
    margin: 0;
    flex: 1;
    text-align: center;
    font-weight: 700;
}

.gcb-back-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 5px;
}

/* Step 1: Calendar Override */
#gcb-datepicker-container .ui-widget.ui-widget-content {
    border: none;
    width: 100%;
}
#gcb-datepicker-container .ui-datepicker-header {
    background: transparent;
    border: none;
    color: #333;
}
#gcb-datepicker-container .ui-state-default, 
#gcb-datepicker-container .ui-widget-content .ui-state-default {
    border: none;
    background: transparent;
    color: #333;
    text-align: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    margin: auto;
}
#gcb-datepicker-container .ui-state-active, 
#gcb-datepicker-container .ui-widget-content .ui-state-active {
    background: #004F34 !important;
    color: #fff !important;
}

.gcb-bottom-action {
    margin-top: 30px;
}
.gcb-bottom-action h4 {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}
.gcb-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f2d879;
    padding: 10px 15px;
    border-radius: 30px;
}
.gcb-selected-date-display {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gcb-btn-primary {
    background: #004F34;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.gcb-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.gcb-btn-dark {
    background: #222;
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.gcb-btn-secondary {
    background: #004F34;
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Step 2: Time Slots */
.gcb-selected-date-bar {
    background: #f2d879;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gcb-slots-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.gcb-time-block {
    display: flex;
    flex-direction: column;
}
.gcb-time-header {
    background: #ccc;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    width: fit-content;
    margin: 0 auto 10px auto;
}
.gcb-tee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}
.gcb-tee-name {
    font-weight: normal;
    color: #333;
}
.gcb-tee-btn {
    background: #FFA3A1;
    color: #111;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
}
.gcb-tee-btn.held {
    background: #ddd;
    color: #888;
    cursor: not-allowed;
}
.gcb-tee-btn.full {
    background: #eee;
    color: #999;
    cursor: not-allowed;
}

/* Step 3: Guests */
.gcb-guests-content {
    text-align: center;
}
.gcb-guest-hero {
    margin-bottom: 20px;
}
.gcb-guest-icon-circle {
    background: #f2d879;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.gcb-timer-container {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}
.gcb-timer {
    background: #d4e0b0;
    color: #004F34;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: bold;
}
.gcb-booking-summary {
    text-align: center;
    margin-bottom: 20px;
}
.gcb-booking-summary h4 {
    color: #004F34;
    margin-bottom: 10px;
}
.gcb-booking-summary p {
    margin: 5px 0;
    color: #555;
    font-size: 0.9rem;
}
.gcb-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}
.gcb-guest-block {
    text-align: left;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}
.gcb-guest-block h5 {
    margin-top: 0;
    color: #004F34;
}
.gcb-user-info {
    text-align: left;
}

/* Authentication (Login/Register) Styles */
.gcb-auth-container {
    padding: 20px 10px;
    text-align: center;
}

.gcb-auth-title {
    color: #004F34;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
}

#gcb-app-container .gcb-input-group {
    position: relative;
    margin-bottom: 15px;
}

#gcb-app-container .gcb-input-group .gcb-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 1.1rem;
    vertical-align: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
}

#gcb-app-container .gcb-input-group .gcb-icon img,
#gcb-app-container .gcb-input-group .gcb-icon img.emoji {
    vertical-align: baseline !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.gcb-input-group .gcb-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: none;
    border-radius: 10px;
    background-color: #d9d9d9;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    font-family: inherit;
}
.gcb-input-group .gcb-input::placeholder {
    color: #666;
}

/* For inputs without icons just use regular padding */
.gcb-input-group input[name="name"],
.gcb-input-group input[name="cedula"],
.gcb-input-group input[name="telefono"],
.gcb-input-group input[name="email"] {
    padding-left: 15px;
}

.gcb-remember-group {
    text-align: left;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #333;
}
.gcb-remember-group input[type="checkbox"] {
    margin-right: 8px;
}

#gcb-app-container .gcb-btn-auth {
    background: #004F34;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    margin-bottom: 15px;
    transition: opacity 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#gcb-app-container .gcb-btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gcb-auth-links {
    font-size: 0.9rem;
    color: #555;
    margin-top: 20px;
}
.gcb-auth-links a {
    color: #004F34;
    text-decoration: none;
    font-weight: 600;
}
.gcb-auth-links a:hover {
    text-decoration: underline;
}

.gcb-message {
    margin-bottom: 15px;
}
.gcb-error {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 10px;
}
.gcb-success {
    color: #388e3c;
    font-size: 0.9rem;
    margin-top: 10px;
}
