/* Base Styles for Content Lock */
.pc-locked-box {
    border: 2px dashed #e74c3c;
    padding: 30px;
    text-align: center;
    background: #fff5f5;
    border-radius: 12px;
    margin: 20px 0;
}

.pc-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pc-locked {
    background: #e74c3c;
    color: #fff;
}

.pc-unlocked {
    background: #27ae60;
    color: #fff;
}

/* Dashboard Wrapper - Full Width */
.pc-dashboard-wrapper {
    background-color: #f8fafc;
    min-height: calc(100vh - 200px);
    padding: 60px 20px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.pc-dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Dashboard Header */
.pc-dashboard-header {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border: 1px solid #edf2f7;
}

.pc-user-profile {
    display: flex;
    align-items: center;
    gap: 25px;
}

.pc-avatar img {
    border-radius: 50%;
    border: 4px solid #f1f5f9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.pc-user-info h1 {
    font-size: 28px;
    margin: 0 0 5px 0;
    color: #1e293b;
    font-weight: 800;
}

.pc-user-email {
    color: #64748b;
    font-size: 16px;
    font-weight: 500;
}

/* Status Badges */
.pc-status-badge {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pc-status-active {
    background: #dcfce7;
    color: #15803d;
}

.pc-status-expired {
    background: #fee2e2;
    color: #991b1b;
}

/* Dashboard Grid */
.pc-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pc-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.pc-card-icon {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.pc-card-icon .dashicons {
    font-size: 30px;
    color: #3b82f6;
    width: 30px;
    height: 30px;
}

.pc-card-content h3 {
    font-size: 22px;
    margin: 0 0 15px 0;
    color: #1e293b;
    font-weight: 700;
}

.pc-card-content p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pc-expiry-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 600;
}

.pc-expiry-date .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.pc-btn-renew {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff !important;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    margin-top: 20px;
    transition: opacity 0.3s;
}

.pc-btn-renew:hover {
    opacity: 0.9;
}

/* Device Card */
.pc-device-status {
    color: #15803d;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.pc-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

.pc-help-text {
    font-size: 13px;
    color: #94a3b8 !important;
    margin-top: 20px;
    text-align: center;
}

/* Menu Link Styles */
.pc-menu-link {
    font-weight: 600;
    color: #1e293b;
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pc-menu-link:hover {
    background: #F57F26 !important;
    border-color: #F57F26 !important;
    color: #fff !important;
}

.pc-logged-in {
    border-color: #2563eb;
    color: #2563eb;
}

/* Dropdown Context */
.pc-auth-dropdown {
    position: relative;
    display: inline-block;
}

.pc-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    z-index: 9999;
    margin-top: 5px;
    border: 1px solid #edf2f7;
    overflow: hidden;
    animation: pcFadeIn 0.2s ease-out;
}

.pc-dropdown-content::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.pc-dropdown-content a {
    color: #334155 !important;
    padding: 14px 20px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
    background: #fff !important;
}

.pc-dropdown-content a:hover {
    background-color: #f8fafc !important;
    color: #F57F26 !important;
    padding-left: 25px;
}

.pc-dropdown-content a:last-child {
    border-bottom: none;
}

.pc-dropdown-content a .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #64748b;
    line-height: 1;
}

.pc-dropdown-content a:hover .dashicons {
    color: #F57F26;
}

.pc-auth-dropdown:hover .pc-dropdown-content {
    display: block;
}

/* Pricing Plans Enhancements */
.pc-pricing-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pc-plan-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    width: 320px;
    text-align: center;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pc-plan-card:hover { transform: translateY(-7px); }

.pc-plan-features {
    text-align: left;
    margin: 20px 0;
    flex-grow: 1;
}

.pc-plan-features p {
    margin: 10px 0;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-plan-features p::before {
    content: "✓";
    color: #F57F26;
    font-weight: 800;
}

.pc-price {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin: 20px 0;
}

.pc-price span {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

/* Modal Styling */
.pc-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: pcFadeIn 0.3s ease-out;
}

@keyframes pcFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pc-close {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #94a3b8;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
}

.pc-modal-content h3 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: #1e293b;
    font-weight: 800;
    text-align: center;
}

.pc-modal-content input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s;
    background: #f8fafc;
}

.pc-modal-content input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.pc-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    margin-top: 10px;
}

.pc-btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }

/* Responsive adjustments */
@media (max-width: 768px) {
    .pc-dashboard-header { flex-direction: column; text-align: center; gap: 20px; }
    .pc-user-profile { flex-direction: column; }
    .pc-dashboard-wrapper { padding: 30px 15px; }
    .pc-menu-link { width: 100%; justify-content: space-between; }
    .pc-auth-dropdown { width: 100%; display: block; }
    .pc-dropdown-content { position: static; display: block; width: 100%; box-shadow: none; border: 1px solid #f1f5f9; margin-top: 5px; animation: none; }
}