/**
 * Activity Log Pro Premium - Additional License Styles
 * 
 * Additional CSS for license page to replace inline styles
 * and maintain WordPress coding standards.
 */

/* Premium upgrade links */
.alp-premium-link {
    color: #059669;
    text-decoration: underline;
    font-weight: 600;
}

/* Premium feature highlights */
.alp-premium-highlight {
    margin-bottom: 8px;
}

.alp-premium-highlight svg {
    vertical-align: middle;
    margin-right: 8px;
}

/* License message container */
.alp-license-message {
    display: none;
}

/* License status styling */
.alp-license-valid {
    color: #00a32a;
    font-weight: 600;
}

.alp-license-invalid {
    color: #d63638;
    font-weight: 600;
}

/* License form styling */
.alp-license-form {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
}

.alp-license-form table {
    width: 100%;
    border-collapse: collapse;
}

.alp-license-form th,
.alp-license-form td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.alp-license-form th {
    background: #f9f9f9;
    font-weight: 600;
    width: 150px;
}

/* License input styling */
.alp-license-input {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
}

.alp-license-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* License button styling */
.alp-license-button {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 3px;
    border: 1px solid;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    margin-right: 10px;
}

.alp-license-button:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

.alp-license-button.secondary {
    background: #f6f7f7;
    border-color: #dcdcde;
    color: #50575e;
}

.alp-license-button.secondary:hover {
    background: #f0f0f1;
    border-color: #999;
    color: #000;
}

/* License info sections */
.alp-license-info {
    background: #f0f6fc;
    border-left: 4px solid #72aee6;
    padding: 12px;
    margin: 15px 0;
}

.alp-license-warning {
    background: #fcf9e8;
    border-left: 4px solid #dba617;
    padding: 12px;
    margin: 15px 0;
}

.alp-license-error {
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    padding: 12px;
    margin: 15px 0;
}

.alp-license-success {
    background: #edfaef;
    border-left: 4px solid #00a32a;
    padding: 12px;
    margin: 15px 0;
}

/* License status indicators */
.alp-license-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.alp-license-status.valid {
    background: #edfaef;
    color: #00a32a;
    border: 1px solid #00a32a;
}

.alp-license-status.invalid {
    background: #fcf0f1;
    color: #d63638;
    border: 1px solid #d63638;
}

.alp-license-status.expired {
    background: #fcf9e8;
    color: #dba617;
    border: 1px solid #dba617;
}

/* External links styling */
.alp-external-link {
    color: #059669;
    text-decoration: underline;
    font-weight: 600;
}

.alp-external-link:hover {
    color: #047857;
}

/* Icon styling within text */
.alp-inline-icon {
    vertical-align: middle;
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 782px) {
    .alp-license-form th,
    .alp-license-form td {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: none;
    }
    
    .alp-license-form th {
        background: none;
        font-weight: 600;
        margin-top: 15px;
    }
    
    .alp-license-input {
        max-width: none;
    }
    
    .alp-license-button {
        display: block;
        text-align: center;
        margin-bottom: 10px;
        margin-right: 0;
    }
}
