/* Writers Club Frontend Styles */

.wclub-plans-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.wclub-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.wclub-plan {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wclub-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.wclub-plan h3 {
    margin-top: 0;
    color: #333;
}

.wclub-plan .price {
    font-size: 28px;
    font-weight: bold;
    color: #4CAF50;
    margin: 15px 0;
}

.wclub-plan .period {
    color: #666;
    margin-bottom: 20px;
}

.wclub-subscribe-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.wclub-subscribe-button:hover {
    background: #45a049;
}

.wclub-subscribe-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Calendar styles */
.wclub-calendar-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.wclub-day {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.wclub-day.allowed:hover {
    background: #c8e6c9 !important;
    transform: scale(1.05);
}

.wclub-day.selected {
    background: #4CAF50 !important;
    color: white !important;
}

/* Booking form */
.wclub-booking-form input,
.wclub-booking-form select {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

.wclub-booking-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.wclub-booking-form .error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}

.wclub-booking-form .success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 600px) {
    .wclub-plans-grid {
        grid-template-columns: 1fr;
    }
}

/* Стилове за страниците */
.wclub-my-bookings,
.wclub-multiple-booking,
.wclub-my-balance {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.wclub-balance-box {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 20px;
}

.wclub-bookings-table {
    width: 100%;
    border-collapse: collapse;
}

.wclub-bookings-table th {
    background: #f5f5f5;
    padding: 10px;
    text-align: left;
    font-weight: bold;
}

.wclub-bookings-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.wclub-bookings-table tr:hover {
    background: #f9f9f9;
}

.wclub-message {
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.wclub-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wclub-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wclub-dates-selection {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wclub-dates-selection label {
    display: block;
    padding: 5px 0;
    cursor: pointer;
}

.wclub-dates-selection label:hover {
    background: #f5f5f5;
}


@media (max-width: 768px) {
    .wclub-multiple-booking form > div {
        grid-template-columns: 1fr !important;
    }
    
    .wclub-bookings-table {
        font-size: 14px;
    }
    
    .wclub-bookings-table th,
    .wclub-bookings-table td {
        padding: 5px;
    }
}


/* Бутон за изход */
.wclub-logout-button {
    display: inline-block;
    padding: 8px 20px;
    background: #f44336;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wclub-logout-button:hover {
    background: #d32f2f;
    color: #fff !important;
}

/* За менюта */
.wclub-logout-menu-item a {
    color: #f44336 !important;
}

.wclub-logout-menu-item a:hover {
    color: #d32f2f !important;
}