/**
 * PCG Time Clock - Tech Portal Header Styles
 * 
 * Styles for the [pcg-tech-header] shortcode
 * 
 * @since 5.3.2
 */

/* Header Container */
.pcg-tech-header {
    background: #1a3a5c;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 20px 0;
    border-radius: 0;
    flex-wrap: wrap;
    gap: 10px;
}

/* Left Side - Version & Title */
.pcg-tech-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pcg-tech-header-info {
    display: flex;
    flex-direction: column;
}

.pcg-tech-header-version {
    color: #7eb8da;
    font-size: 11px;
    line-height: 1;
}

.pcg-tech-header-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.pcg-tech-header-page {
    color: #7eb8da;
    font-weight: 400;
}

/* Right Side - User & Nav */
.pcg-tech-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pcg-tech-header-user {
    color: #fff;
    font-size: 14px;
    padding-right: 5px;
}

/* Navigation Buttons */
.pcg-tech-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: #2a5a8a;
    color: #fff !important;
    border: 2px solid transparent;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.pcg-tech-header-btn:hover,
.pcg-tech-header-btn:focus,
.pcg-tech-header-btn:visited {
    background: #3a6a9a;
    color: #fff !important;
    text-decoration: none !important;
}

.pcg-tech-header-btn.active {
    background: #0073aa;
    border-color: #fff;
    color: #fff !important;
}

.pcg-tech-header-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .pcg-tech-header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .pcg-tech-header-left {
        justify-content: center;
    }

    .pcg-tech-header-right {
        justify-content: center;
        width: 100%;
    }

    .pcg-tech-header-user {
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        margin-bottom: 5px;
    }

    .pcg-tech-header-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .pcg-tech-header-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .pcg-tech-header-btn .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
}
