:root {
    --pro-blue: #2563EB;
    --pro-gold: #FACC15;
    --pro-green: #22C55E;
    --pro-gray: #F9FAFB;
    --pro-dark: #1F2937;
    --pro-border: #E5E7EB;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--pro-dark);
}

.pro-account-portal {
    padding: 2rem 0;
    min-height: 100vh;
    background-color: var(--pro-gray);
}

.pro-sidebar {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 2rem;
}

.pro-user-info {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--pro-border);
}

.pro-avatar img {
    border-radius: 50%;
    width: 64px;
    height: 64px;
}

.pro-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pro-nav-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--pro-dark);
    transition: all 0.2s;
}

.pro-nav-item:hover {
    background-color: var(--pro-gray);
    color: var(--pro-blue);
    transform: translateX(4px);
}

.pro-nav-item.active {
    background-color: #DBEAFE;
    color: var(--pro-blue);
    font-weight: 600;
    border-left: 4px solid var(--pro-blue);
}

.pro-nav-item .icon {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.pro-sidebar-footer {
    border-top: 1px solid var(--pro-border);
    padding-top: 1.5rem;
}

.pro-sidebar-footer .footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--pro-dark);
}

.pro-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--pro-gray);
    border-radius: 8px;
    transition: all 0.2s;
}

.stat-item:hover {
    background: #E0E7FF;
    transform: translateX(2px);
}

.stat-item .stat-icon {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 6px;
    flex-shrink: 0;
}

.stat-item .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: #6B7280;
    line-height: 1.2;
}

.stat-item .stat-value {
    font-size: 0.875rem;
    color: var(--pro-dark);
    font-weight: 600;
}

.pro-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    min-height: 600px;
}

.pro-stat-card {
    background: white;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.pro-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.pro-stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.pro-stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pro-blue);
    margin-bottom: 0.25rem;
}

.pro-order-card,
.pro-download-card,
.pro-favorite-card,
.pro-review-item {
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    transition: all 0.3s;
    padding: 1.5rem;
    background: white;
}

.pro-order-card {
    padding-left: 10px;
}

.pro-order-card:hover,
.pro-download-card:hover,
.pro-favorite-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pro-action-card {
    display: block;
    background: white;
    border: 1px solid var(--pro-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--pro-dark);
    transition: all 0.3s;
}

.pro-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: var(--pro-dark);
}

.pro-action-card .action-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.pro-star-rating {
    display: inline-flex;
    gap: 2px;
}

.pro-star-rating .star {
    color: var(--pro-gold);
    font-size: 1.25rem;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 2rem;
    color: #D1D5DB;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: var(--pro-gold);
}

.empty-state {
    padding: 3rem 1rem;
}

.empty-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.review-card {
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.process-step .step-number {
    width: 48px;
    height: 48px;
    background: var(--pro-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto;
}

.badge {
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    border-radius: 8px;
}

.btn {
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--pro-blue);
    border-color: var(--pro-blue);
}

.btn-primary:hover {
    background-color: #1D4ED8;
    border-color: #1D4ED8;
}

.card {
    border: 1px solid var(--pro-border);
    border-radius: 12px;
}

.modal-content {
    border-radius: 16px;
    border: none;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid var(--pro-border);
    padding: 0.625rem 0.875rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pro-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@media (max-width: 768px) {
    .pro-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }

    .pro-content {
        padding: 1.5rem;
    }

    .pro-stat-card {
        margin-bottom: 1rem;
    }
}

.bg-primary {
    background-color: var(--pro-blue) !important;
}

.bg-success {
    background-color: var(--pro-green) !important;
}

.bg-warning {
    background-color: var(--pro-gold) !important;
}

.text-primary {
    color: var(--pro-blue) !important;
}

.alert-success {
    background-color: #D1FAE5;
    border-color: var(--pro-green);
    color: #065F46;
}

.alert-warning {
    background-color: #FEF3C7;
    border-color: var(--pro-gold);
    color: #92400E;
}
