/* Tour Signup Page Styles */
.tour-header {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.tour-header h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-top: 0;
    margin-top: 0;
}

.tour-header p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.tour-list {
    margin-bottom: 3rem;
}

.tour-item {
    border: none;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tour-item-full {
    background-color: #f8f9fa;
    opacity: 0.8;
}

.tour-item-registered {
    background-color: #e8f5e9;
}

.tour-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.tour-time {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.tour-spots {
    font-size: 0.9rem;
    color: #6c757d;
}

.tour-spots.low {
    color: #dc3545;
    font-weight: 600;
}

.btn-rsvp {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-rsvp:hover {
    transform: scale(1.05);
}

.btn-registered {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-full {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

.signup-form {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: none;
    padding: 2rem;
    margin-top: 2rem;
}

.signup-form h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.signup-form label {
    font-weight: 600;
    color: #495057;
}

.signup-form .form-control {
    border-radius: 4px;
    padding: 0.75rem;
    border: 1px solid #ced4da;
}

.signup-form .btn-submit {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    margin-top: 1rem;
}

.signup-form .btn-submit:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.no-tours {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: none;
}

.no-tours p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Message styling */
.global.message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.global.message.success {
    background-color: #d4edda;
    color: #155724;
}

.global.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.global.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.global.message .close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
}

.global.message .close:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tour-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tour-item .btn {
        margin-top: 1rem;
        align-self: flex-end;
    }
}
