/*
Theme Name: Impreza Child - Inspero Clients
Theme URI: https://inspero.gr
Description: Child theme for Inspero Client Management Portal (cp.inspero.gr)
Author: Inspero
Author URI: https://inspero.gr
Template: Impreza
Version: 1.0.0
Text Domain: impreza-child
*/

/* ==========================================================================
   Inspero Client Portal - Custom Styles
   ========================================================================== */

/* Status Badges */
.icm-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icm-status-badge--active {
    background-color: #dcfce7;
    color: #166534;
}

.icm-status-badge--due {
    background-color: #fef3c7;
    color: #92400e;
}

.icm-status-badge--overdue {
    background-color: #fee2e2;
    color: #991b1b;
}

.icm-status-badge--cancelled {
    background-color: #f3f4f6;
    color: #6b7280;
}

/* Service Cards */
.icm-service-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
}

.icm-service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.icm-service-card__price {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.icm-service-card__price span {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.icm-service-card__domain {
    color: #2563eb;
    font-weight: 500;
}

.icm-service-card__expiry {
    font-size: 13px;
    color: #6b7280;
}

.icm-service-card__expiry--urgent {
    color: #dc2626;
    font-weight: 600;
}

/* Pay Now Button Override */
.icm-pay-button {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.icm-pay-button:hover {
    background: #1d4ed8;
}

.icm-pay-button--overdue {
    background: #dc2626;
}

.icm-pay-button--overdue:hover {
    background: #b91c1c;
}

/* Dashboard Welcome Section */
.icm-dashboard-welcome {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
}

.icm-dashboard-welcome h2 {
    color: #ffffff;
    margin: 0 0 8px;
}

.icm-dashboard-welcome p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Service Type Icons */
.icm-icon-hosting::before {
    content: "\f319"; /* dashicons-admin-site-alt3 */
    font-family: dashicons;
    margin-right: 6px;
    color: #2563eb;
}

.icm-icon-maintenance::before {
    content: "\f107"; /* dashicons-admin-tools */
    font-family: dashicons;
    margin-right: 6px;
    color: #7c3aed;
}

/* Hide unnecessary WooCommerce My Account tabs */
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--edit-address {
    display: none !important;
}

/* Login Page Styling */
.icm-login-wrapper {
    max-width: 420px;
    margin: 80px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.icm-login-wrapper .login-remember {
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .icm-dashboard-welcome {
        padding: 20px;
        border-radius: 12px;
    }

    .icm-service-card {
        padding: 16px;
    }

    .icm-service-card__price {
        font-size: 20px;
    }

    .icm-login-wrapper {
        margin: 40px 16px;
        padding: 24px;
    }
}
