/* Rezervace Admin - Payment Form Styles */

/* === NOVÝ DESIGN KADERNICE BOX === */
/* Moderní kadernice box - kompaktní karta */
div.ra-kadernice-wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Fialová karta */
div.ra-kadernice-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    background-image: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    padding: 40px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    color: white !important;
    gap: 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3) !important;
}

.ra-card-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    color: white !important;
}

.ra-card-subtitle {
    font-size: 15px !important;
    margin: 0 !important;
    opacity: 0.95 !important;
    line-height: 1.4 !important;
    color: white !important;
}

.ra-card-price {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    width: 100% !important;
}

.ra-price-label {
    display: block !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    opacity: 0.9 !important;
    color: white !important;
}

.ra-price-value {
    display: block !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: white !important;
}

.ra-card-btn {
    background: white !important;
    color: #6366f1 !important;
    border: none !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    width: 100% !important;
}

.ra-card-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive design */
@media (max-width: 600px) {
    div.ra-kadernice-wrapper {
        max-width: 100% !important;
    }
    
    div.ra-kadernice-card {
        padding: 30px 25px !important;
    }
    
    .ra-card-title {
        font-size: 20px !important;
    }
    
    .ra-price-value {
        font-size: 28px !important;
    }
}

/* === STARÝ DESIGN (pro jiné shortcody) === */
/* Prodejní box */
.ra-prodejni-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.ra-nazev-produktu {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.ra-cena {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
}

.ra-koupit-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ra-koupit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Popup overlay */
.ra-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ra-popup {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ra-zavrit {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ra-zavrit:hover {
    color: #333;
    background: #f0f0f0;
}

/* Payment form */
.ra-platba-form {
    padding: 40px;
}

.ra-platba-form h2 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 24px;
}

.ra-platba-form .ra-cena {
    font-size: 32px;
    color: #667eea;
    margin: 0 0 30px 0;
}

.ra-form-group {
    margin-bottom: 20px;
}

.ra-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ra-form-group input[type="text"],
.ra-form-group input[type="email"],
.ra-form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.ra-form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.ra-checkbox-group {
    margin: 25px 0 !important;
}

.ra-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    font-weight: normal !important;
}

.ra-checkbox-label input[type="checkbox"] {
    margin: 4px 0 0 0 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
}

.ra-checkbox-label span {
    flex: 1 !important;
    line-height: 1.5 !important;
    color: #555 !important;
}

.ra-checkbox-label a {
    color: #6366f1 !important;
    text-decoration: underline !important;
}

.ra-checkbox-label a:hover {
    color: #8b5cf6 !important;
}

.ra-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ra-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.ra-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.ra-message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
}

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

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

/* Benefits */
.ra-benefits {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.ra-benefits h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.ra-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ra-benefits li {
    padding: 8px 0;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .ra-prodejni-box {
        padding: 30px 20px;
    }
    
    .ra-nazev-produktu {
        font-size: 22px;
    }
    
    .ra-cena {
        font-size: 36px;
    }
    
    .ra-platba-form {
        padding: 30px 20px;
    }
    
    .ra-popup {
        width: 95%;
    }
}