/* Website Info Plugin Admin Styles */

.website-info-wrap {
    max-width: 1200px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header Styles */
.website-info-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hvantech-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.website-info-header h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 600;
    color: white;
}

.plugin-version {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
}

/* Section Styles */
.info-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.section-header {
    background: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 1px solid #e1e5e9;
}

.section-header h2 {
    margin: 0;
    font-size: 1.4em;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header .dashicons {
    color: #667eea;
    font-size: 24px;
}

.section-content {
    padding: 30px;
}

/* Welcome Section */
.welcome-section .section-content p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.info-item strong {
    color: #2c3e50;
}

/* Status Badges */
.version-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-active {
    background: #27ae60;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-inactive {
    background: #95a5a6;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-success {
    color: #27ae60;
    font-weight: 600;
}

.status-warning {
    color: #f39c12;
    font-weight: 600;
}

/* Plugins Section */
.plugins-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-button {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.plugins-table-wrapper {
    overflow-x: auto;
}

.plugins-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.plugins-table th,
.plugins-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #e1e5e9;
}

.plugins-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.plugins-table tr:hover {
    background: #f8f9fa;
}

/* SSL Section */
.ssl-status {
    text-align: center;
}

.ssl-indicator {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
}

.ssl-enabled {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.ssl-disabled {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.ssl-icon .dashicons {
    font-size: 48px;
}

.ssl-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.ssl-details p {
    margin: 5px 0;
}

.ssl-details code {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Server Section */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-right: 4px solid #667eea;
}

.server-label {
    font-weight: 600;
    color: #2c3e50;
}

.server-value {
    color: #555;
    font-family: monospace;
}

.server-value code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Promotion Section */
.promotion-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.promotion-section .section-header {
    background: rgba(255,255,255,0.1);
    border-bottom-color: rgba(255,255,255,0.2);
}

.promotion-section .section-header h2 {
    color: white;
}

.promotion-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.promotion-logo img {
    height: 40px;
    width: auto;
    border-radius: 12px;
}

.promotion-text h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    color: white;
}

.promotion-text p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.services-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
}

.services-list .dashicons {
    color: #2ecc71;
    font-size: 16px;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.contact-info p {
    margin: 8px 0;
}

.contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cta-buttons .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button-primary {
    background: #2ecc71;
    color: white;
    border: 2px solid #2ecc71;
}

.button-primary:hover {
    background: #27ae60;
    border-color: #27ae60;
    color: white;
}

.button-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.button-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

/* Footer */
.website-info-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #e1e5e9;
    margin-top: 30px;
}

.website-info-footer a {
    color: #667eea;
    text-decoration: none;
}

.website-info-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .website-info-header h1 {
        font-size: 1.8em;
    }
    
    .promotion-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .info-grid,
    .server-grid {
        grid-template-columns: 1fr;
    }
    
    .ssl-indicator {
        flex-direction: column;
        text-align: center;
    }
}
