/**
 * BotFend License Page Styles
 */

.botfend-license-container {
    max-width: 800px;
    margin-top: 20px;
}

.botfend-license-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    transition: all 0.2s ease;
}

.botfend-license-card.active {
    border-left: 4px solid #46b450;
}

.botfend-license-card.inactive {
    border-left: 4px solid #dc3232;
}

.botfend-license-info {
    border-left: 4px solid #2271b1;
}

.botfend-license-icon {
    font-size: 48px;
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.botfend-license-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

.botfend-license-card.active .botfend-license-icon .dashicons {
    color: #46b450;
}

.botfend-license-card.inactive .botfend-license-icon .dashicons {
    color: #dc3232;
}

.botfend-license-content {
    padding: 25px;
}

.botfend-license-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.botfend-license-status {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
    padding: 10px 15px;
    background: #f0f6fc;
    border-radius: 6px;
    color: #2271b1;
}

.botfend-license-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.botfend-license-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.botfend-license-details table {
    width: 100%;
    border-collapse: collapse;
}

.botfend-license-details th {
    width: 140px;
    font-weight: 600;
    text-align: left;
    padding: 8px 5px;
}

.botfend-license-details td {
    padding: 8px 5px;
}

.botfend-feature-subtitle {
    font-size: 12px;
    font-weight: normal;
    color: #46b450;
}

.botfend-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.botfend-feature-item {
    padding: 10px 15px;
    background: #f0f6fc;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.botfend-feature-item.active {
    background: #e7f5e8;
}

.botfend-feature-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.botfend-feature-item.active .dashicons {
    color: #46b450;
}

.botfend-feature-item.inactive .dashicons {
    color: #999;
}

.botfend-feature-item.inactive span:last-child {
    color: #999;
}

.botfend-renewal-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 6px;
}

.botfend-renewal-notice .dashicons {
    color: #f0ad4e;
    vertical-align: middle;
    margin-right: 8px;
}

.botfend-license-input-group {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.botfend-license-input {
    flex: 1;
    min-width: 280px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 14px;
    letter-spacing: 1px;
    transition: border-color 0.2s;
}

.botfend-license-input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.botfend-license-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.botfend-lost-license-link {
    text-decoration: none;
}

.botfend-pro-badge {
    background: linear-gradient(135deg, #f05a28 0%, #dc3232 100%);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .botfend-license-details th {
        width: auto;
        display: block;
        padding-bottom: 5px;
    }

    .botfend-license-details td {
        display: block;
        padding-top: 0;
    }

    .botfend-feature-grid {
        grid-template-columns: 1fr;
    }

    .botfend-license-input-group {
        flex-direction: column;
    }

    .botfend-license-input {
        width: 100%;
    }

    .botfend-license-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}