/**
 * SVE Tool License - Frontend Styles
 * Farben: #303030 #34495E #E17A00 #3D3D3D
 */

/* === Lizenz Status Wrapper === */
.sve-license-status-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
}

/* === Lizenz Box === */
.sve-license-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
}

.sve-license-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.sve-license-box h3 {
    color: #303030;
    font-size: 28px;
    margin: 0 0 15px 0;
}

.sve-license-box p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* === Lizenz Box Varianten === */
.sve-box-active {
    border: 3px solid #28a745;
}

.sve-box-expired {
    border: 3px solid #E17A00;
}

.sve-box-locked,
.sve-box-none {
    border: 3px solid #dc3545;
}

.sve-box-active.sve-expiring {
    border: 3px solid #ffc107;
}

/* === Info Rows === */
.sve-license-info {
    margin: 30px 0;
    text-align: left;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
}

.sve-info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.sve-info-row:last-child {
    border-bottom: none;
}

.sve-label {
    color: #666;
    font-weight: 500;
}

.sve-value {
    color: #303030;
    font-weight: 600;
}

/* === Warnungen und Hinweise === */
.sve-license-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: left;
}

.sve-license-alert {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: left;
}

.sve-license-warning p,
.sve-license-alert p {
    margin: 5px 0;
}

/* === Features Liste === */
.sve-license-features {
    margin: 30px 0;
    text-align: left;
}

.sve-license-features h4 {
    color: #34495E;
    font-size: 18px;
    margin-bottom: 15px;
}

.sve-license-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sve-license-features li {
    padding: 8px 0;
    color: #303030;
    font-size: 15px;
}

/* === Buttons === */
.sve-license-actions {
    margin-top: 30px;
}

.sve-button {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sve-button-primary {
    background-color: #E17A00;
    color: #ffffff;
}

.sve-button-primary:hover {
    background-color: #c66900;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(225, 122, 0, 0.3);
}

.sve-button-secondary {
    background-color: #34495E;
    color: #ffffff;
}

.sve-button-secondary:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 73, 94, 0.3);
}

.sve-button-upgrade {
    background-color: #28a745;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 20px;
}

.sve-button-upgrade:hover {
    background-color: #218838;
}

/* === Upgrade Options === */
.sve-upgrade-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

/* === Notices (für Produktseite) === */
.sve-notice {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.sve-notice-success {
    background-color: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.sve-notice-info {
    background-color: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

.sve-notice-warning {
    background-color: #fff3cd;
    border-left-color: #ffc107;
    color: #856404;
}

.sve-notice-error {
    background-color: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.sve-notice strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.sve-notice p {
    margin: 5px 0;
}

.sve-notice ul {
    margin: 10px 0;
    padding-left: 20px;
}

/* === Product Page Notices === */
.sve-license-product-notice {
    margin: 20px 0;
}

/* === Access Notice (für Calculator) === */
.sve-access-notice {
    margin: 20px 0;
}

/* === Responsive === */
@media (max-width: 768px) {
    .sve-license-box {
        padding: 30px 20px;
    }
    
    .sve-license-icon {
        font-size: 48px;
    }
    
    .sve-license-box h3 {
        font-size: 24px;
    }
    
    .sve-info-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .sve-button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .sve-upgrade-options {
        flex-direction: column;
    }
}

/* === Loading State === */
.sve-loading {
    text-align: center;
    padding: 40px;
}

.sve-loading::after {
    content: "⏳";
    font-size: 48px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
