:root {
    --pf-primary: #6c5ce7;
    --pf-primary-dark: #5a4bd1;
    --pf-primary-light: #a29bfe;
    --pf-success: #00b894;
    --pf-success-dark: #00a381;
    --pf-danger: #d63031;
    --pf-danger-dark: #b71c1c;
    --pf-warning: #fdcb6e;
    --pf-warning-dark: #f0b800;
    --pf-dark: #2d3436;
    --pf-gray: #636e72;
    --pf-light: #dfe6e9;
    --pf-lighter: #f1f3f5;
    --pf-bg: #f8f9fa;
    --pf-white: #ffffff;
    --pf-radius: 8px;
    --pf-radius-sm: 4px;
    --pf-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --pf-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --pf-transition: 0.2s ease;
}

* {
    box-sizing: border-box;
}

.pf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Auth Pages */
.pf-auth-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 70vh;
    padding-top: 60px;
}

.pf-auth-card {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 520px;
}

.pf-register-card {
    max-width: 640px;
}

.pf-auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.pf-auth-header h2 {
    margin: 16px 0 8px;
    font-size: 24px;
    color: var(--pf-dark);
}

.pf-auth-header p {
    color: var(--pf-gray);
    margin: 0;
    font-size: 14px;
}

.pf-logo {
    display: flex;
    justify-content: center;
}

/* Forms */
.pf-form .pf-field {
    margin-bottom: 18px;
}

.pf-form .pf-field:last-child {
    margin-bottom: 0;
}

.pf-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pf-dark);
}

.pf-form input[type="text"],
.pf-form input[type="email"],
.pf-form input[type="password"],
.pf-form input[type="tel"],
.pf-form input[type="number"],
.pf-form input[type="datetime-local"],
.pf-form textarea,
.pf-form select,
.pf-input,
.pf-select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--pf-light);
    border-radius: var(--pf-radius-sm);
    font-size: 15px;
    color: var(--pf-dark);
    background: var(--pf-white);
    transition: border-color var(--pf-transition);
    font-family: inherit;
}

.pf-form input:focus,
.pf-form textarea:focus,
.pf-form select:focus,
.pf-input:focus,
.pf-select:focus {
    outline: none;
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
}

.pf-form textarea {
    resize: vertical;
    min-height: 80px;
}

.pf-required {
    color: var(--pf-danger);
}

.pf-row {
    display: flex;
    gap: 16px;
}

.pf-col-6 {
    flex: 1;
}

.pf-field-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-field-inline label {
    margin-bottom: 0;
}

.pf-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: normal !important;
}

/* Buttons */
.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 2px solid transparent;
    border-radius: var(--pf-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--pf-transition);
    font-family: inherit;
    line-height: 1.4;
}

.pf-btn:hover {
    transform: translateY(-1px);
}

.pf-btn:active {
    transform: translateY(0);
}

.pf-btn-primary {
    background: var(--pf-primary);
    color: var(--pf-white);
}

.pf-btn-primary:hover {
    background: var(--pf-primary-dark);
}

.pf-btn-secondary {
    background: var(--pf-dark);
    color: var(--pf-white);
}

.pf-btn-secondary:hover {
    background: #1e272e;
}

.pf-btn-outline {
    background: transparent;
    border-color: var(--pf-primary);
    color: var(--pf-primary);
}

.pf-btn-outline:hover {
    background: var(--pf-primary);
    color: var(--pf-white);
}

.pf-btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--pf-gray);
}

.pf-btn-ghost:hover {
    color: var(--pf-dark);
    background: var(--pf-lighter);
}

.pf-btn-full {
    width: 100%;
}

.pf-btn-danger {
    background: var(--pf-danger);
    color: var(--pf-white);
}

.pf-btn-danger:hover {
    background: var(--pf-danger-dark);
}

.pf-btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.pf-btn-lg {
    padding: 14px 32px;
    font-size: 17px;
}

.pf-btn:disabled,
.pf-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.pf-btn-spinner {
    display: none;
}

.pf-btn.loading .pf-btn-text {
    display: none;
}

.pf-btn.loading .pf-btn-spinner {
    display: inline;
}

/* Auth links */
.pf-auth-links {
    text-align: center;
    margin-top: 16px;
}

.pf-auth-links a {
    color: var(--pf-primary);
    text-decoration: none;
    font-size: 14px;
}

.pf-auth-links a:hover {
    text-decoration: underline;
}

.pf-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--pf-light);
    font-size: 14px;
    color: var(--pf-gray);
}

.pf-auth-footer a {
    color: var(--pf-primary);
    text-decoration: none;
    font-weight: 600;
}

/* Messages */
.pf-auth-message,
.pf-message {
    padding: 12px 16px;
    border-radius: var(--pf-radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.pf-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pf-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.pf-message-info {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.pf-message-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Dashboard */
.pf-dashboard-header {
    margin-bottom: 32px;
}

.pf-dashboard-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    color: var(--pf-dark);
}

.pf-dashboard-header p {
    color: var(--pf-gray);
    margin: 0;
}

.pf-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.pf-dash-card {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    padding: 28px;
    text-align: center;
    transition: transform var(--pf-transition), box-shadow var(--pf-transition);
}

.pf-dash-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--pf-shadow-lg);
}

.pf-dash-icon {
    margin-bottom: 12px;
}

.pf-dash-card h3 {
    margin: 0 0 16px;
    font-size: 16px;
    color: var(--pf-dark);
}

/* Dashboard Tabs */
.pf-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--pf-light);
    margin-bottom: 24px;
}

.pf-tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pf-gray);
    cursor: pointer;
    transition: all var(--pf-transition);
    font-family: inherit;
}

.pf-tab-btn:hover {
    color: var(--pf-dark);
}

.pf-tab-btn.pf-active {
    color: var(--pf-primary);
    border-bottom-color: var(--pf-primary);
}

.pf-tab-content {
    display: none;
}

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

/* Overview Stats */
.pf-overview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.pf-stat-card {
    background: var(--pf-lighter);
    border-radius: var(--pf-radius);
    padding: 20px;
    text-align: center;
}

.pf-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--pf-primary);
}

.pf-stat-label {
    display: block;
    font-size: 13px;
    color: var(--pf-gray);
    margin-top: 4px;
}

/* Loading */
.pf-loading {
    text-align: center;
    padding: 32px;
    color: var(--pf-gray);
}

.pf-loading-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.pf-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--pf-light);
    border-top-color: var(--pf-primary);
    border-radius: 50%;
    animation: pf-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes pf-spin {
    to { transform: rotate(360deg); }
}

/* Competitions Grid */
.pf-competitions-header {
    text-align: center;
    margin-bottom: 24px;
}

.pf-competitions-header h1 {
    margin: 0 0 8px;
    font-size: 32px;
    color: var(--pf-dark);
}

.pf-competitions-header p {
    color: var(--pf-gray);
    margin: 0;
}

.pf-competitions-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.pf-competitions-filters .pf-search {
    flex: 1;
}

.pf-competitions-filters .pf-sort {
    width: 220px;
}

.pf-competitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.pf-comp-card {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    overflow: hidden;
    transition: transform var(--pf-transition), box-shadow var(--pf-transition);
    cursor: pointer;
}

.pf-comp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pf-shadow-lg);
}

.pf-comp-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--pf-lighter);
}

.pf-comp-card-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--pf-primary-light), var(--pf-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pf-white);
    font-size: 40px;
}

.pf-comp-card-body {
    padding: 20px;
}

.pf-comp-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--pf-dark);
}

.pf-comp-card-excerpt {
    font-size: 14px;
    color: var(--pf-gray);
    margin: 0 0 12px;
    line-height: 1.5;
}

.pf-comp-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pf-comp-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--pf-primary);
}

.pf-comp-card-deadline {
    font-size: 12px;
    color: var(--pf-gray);
}

.pf-comp-card-countdown {
    font-size: 12px;
    color: var(--pf-danger);
    font-weight: 600;
}

/* Pagination */
.pf-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pf-page-btn {
    padding: 8px 16px;
    background: var(--pf-white);
    border: 2px solid var(--pf-light);
    border-radius: var(--pf-radius-sm);
    color: var(--pf-dark);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--pf-transition);
    font-family: inherit;
}

.pf-page-btn:hover {
    border-color: var(--pf-primary);
    color: var(--pf-primary);
}

.pf-page-btn.pf-active {
    background: var(--pf-primary);
    border-color: var(--pf-primary);
    color: var(--pf-white);
}

.pf-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Modal */
.pf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    animation: pf-fade-in 0.2s ease;
}

.pf-modal-content {
    position: relative;
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow-lg);
    max-width: 700px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    animation: pf-slide-up 0.25s ease;
    z-index: 1;
}

.pf-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--pf-gray);
    cursor: pointer;
    line-height: 1;
    z-index: 2;
}

.pf-modal-close:hover {
    color: var(--pf-dark);
}

.pf-modal-body {
    padding: 32px;
}

.pf-modal-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--pf-radius-sm);
    margin-bottom: 20px;
    background: var(--pf-lighter);
}

.pf-modal-title {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--pf-dark);
}

.pf-modal-prize {
    font-size: 16px;
    color: var(--pf-primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.pf-modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.pf-modal-detail {
    padding: 12px;
    background: var(--pf-lighter);
    border-radius: var(--pf-radius-sm);
}

.pf-modal-detail-label {
    font-size: 12px;
    color: var(--pf-gray);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pf-modal-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--pf-dark);
}

.pf-modal-question {
    margin-bottom: 16px;
}

.pf-modal-question label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--pf-dark);
}

@keyframes pf-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pf-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cart */
.pf-cart-page h1 {
    margin: 0 0 24px;
}

.pf-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    overflow: hidden;
    box-shadow: var(--pf-shadow);
}

.pf-cart-table th {
    background: var(--pf-lighter);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pf-cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--pf-light);
    vertical-align: middle;
}

.pf-cart-table tr:last-child td {
    border-bottom: none;
}

.pf-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pf-cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: var(--pf-radius-sm);
    object-fit: cover;
    background: var(--pf-lighter);
}

.pf-cart-item-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
}

.pf-cart-item-info span {
    font-size: 13px;
    color: var(--pf-gray);
}

.pf-cart-remove {
    background: none;
    border: none;
    color: var(--pf-danger);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
}

.pf-cart-remove:hover {
    text-decoration: underline;
}

.pf-cart-total {
    text-align: right;
    margin-top: 20px;
    font-size: 22px;
    font-weight: 700;
    color: var(--pf-dark);
}

.pf-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.pf-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.pf-empty-icon {
    margin-bottom: 16px;
}

.pf-cart-empty h2 {
    margin: 0 0 8px;
    color: var(--pf-dark);
}

.pf-cart-empty p {
    color: var(--pf-gray);
    margin: 0 0 24px;
}

/* Checkout */
.pf-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
}

.pf-checkout-section {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    padding: 28px;
    margin-bottom: 24px;
}

.pf-checkout-section h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: var(--pf-dark);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pf-light);
}

.pf-checkout-summary {
    position: sticky;
    top: 20px;
}

.pf-summary-items {
    margin-bottom: 16px;
}

.pf-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.pf-summary-item span:first-child {
    color: var(--pf-gray);
}

.pf-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 2px solid var(--pf-dark);
    font-size: 18px;
    font-weight: 700;
}

.pf-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--pf-light);
    border-radius: var(--pf-radius-sm);
    cursor: pointer;
    transition: border-color var(--pf-transition);
}

.pf-payment-method:hover {
    border-color: var(--pf-primary-light);
}

.pf-payment-method.pf-selected {
    border-color: var(--pf-primary);
    background: rgba(108,92,231,0.04);
}

.pf-payment-method input[type="radio"] {
    margin: 0;
}

.pf-payment-method label {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}

/* Order Confirmation */
.pf-confirmation {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pf-confirmation-icon {
    margin-bottom: 16px;
}

.pf-confirmation h1 {
    margin: 0 0 8px;
    color: var(--pf-success);
}

.pf-confirmation p {
    color: var(--pf-gray);
    margin: 0 0 24px;
}

.pf-confirmation-details {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    padding: 24px;
    text-align: left;
    margin-bottom: 24px;
}

.pf-confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--pf-light);
}

.pf-confirmation-row:last-child {
    border-bottom: none;
}

.pf-confirmation-row span:first-child {
    color: var(--pf-gray);
    font-size: 14px;
}

.pf-confirmation-row span:last-child {
    font-weight: 600;
    font-size: 14px;
}

/* Orders Table */
.pf-orders {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    overflow: hidden;
}

.pf-orders table {
    width: 100%;
    border-collapse: collapse;
}

.pf-orders th {
    background: var(--pf-lighter);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-gray);
    text-transform: uppercase;
}

.pf-orders td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--pf-light);
    font-size: 14px;
}

.pf-orders tr:last-child td {
    border-bottom: none;
}

.pf-orders tr.pf-expandable {
    cursor: pointer;
}

.pf-orders tr.pf-expandable:hover {
    background: var(--pf-lighter);
}

.pf-order-items {
    background: var(--pf-lighter);
    font-size: 13px;
}

.pf-order-items td {
    padding: 10px 16px 10px 32px;
    color: var(--pf-gray);
}

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

.pf-badge-pending {
    background: #fff3cd;
    color: #856404;
}

.pf-badge-completed {
    background: #d4edda;
    color: #155724;
}

.pf-badge-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.pf-badge-paid {
    background: #d4edda;
    color: #155724;
}

.pf-badge-unpaid {
    background: #fff3cd;
    color: #856404;
}

.pf-badge-active {
    background: #cce5ff;
    color: #004085;
}

.pf-badge-closed {
    background: #e2e3e5;
    color: #383d41;
}

.pf-badge-drawn {
    background: #dcd6f7;
    color: #4a3db5;
}

.pf-badge-winner {
    background: #ffd700;
    color: #5a4a00;
}

/* Competition Single */
.pf-comp-single {
    max-width: 900px;
    margin: 0 auto;
}

.pf-comp-single-hero {
    margin-bottom: 32px;
}

.pf-comp-single-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--pf-radius);
    background: var(--pf-lighter);
}

.pf-comp-single-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--pf-primary-light), var(--pf-primary));
    border-radius: var(--pf-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pf-white);
    font-size: 60px;
}

.pf-comp-single-header {
    margin-top: 24px;
}

.pf-comp-single-title {
    margin: 0 0 8px;
    font-size: 32px;
    color: var(--pf-dark);
}

.pf-comp-single-prize {
    font-size: 20px;
    color: var(--pf-primary);
    font-weight: 700;
    margin-bottom: 16px;
}

.pf-comp-single-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.pf-comp-single-detail {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    padding: 16px;
    text-align: center;
}

.pf-comp-single-detail .pf-label {
    font-size: 11px;
    color: var(--pf-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pf-comp-single-detail .pf-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--pf-dark);
}

.pf-comp-single-description {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    padding: 24px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--pf-dark);
}

.pf-comp-single-question {
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    box-shadow: var(--pf-shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.pf-comp-single-question h3 {
    margin: 0 0 12px;
}

.pf-comp-single-actions {
    display: flex;
    gap: 12px;
}

.pf-comp-single-closed {
    text-align: center;
    padding: 24px;
    background: var(--pf-lighter);
    border-radius: var(--pf-radius);
}

.pf-comp-single-closed h3 {
    margin: 0;
    color: var(--pf-gray);
}

.pf-comp-single-winner {
    text-align: center;
    padding: 24px;
    background: #fff9e6;
    border-radius: var(--pf-radius);
    border: 2px solid var(--pf-warning);
}

.pf-comp-single-winner h3 {
    margin: 0 0 4px;
    color: #5a4a00;
}

/* Clean wpadminbar offset fix */
body.admin-bar .pf-modal {
    top: 32px;
}

/* Toast Notification */
.pf-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: var(--pf-radius-sm);
    color: var(--pf-white);
    font-weight: 600;
    font-size: 14px;
    z-index: 100000;
    animation: pf-slide-up 0.25s ease;
    box-shadow: var(--pf-shadow-lg);
}

.pf-toast-success {
    background: var(--pf-success);
}

.pf-toast-error {
    background: var(--pf-danger);
}

.pf-toast-info {
    background: var(--pf-dark);
}

/* Empty state */
.pf-empty {
    text-align: center;
    padding: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .pf-dashboard-grid,
    .pf-competitions-grid,
    .pf-overview-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pf-checkout-grid {
        grid-template-columns: 1fr;
    }

    .pf-comp-single-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .pf-comp-single-image {
        height: 250px;
    }

    .pf-row {
        flex-direction: column;
        gap: 0;
    }

    .pf-col-6 {
        flex: none;
    }

    .pf-tabs-nav {
        overflow-x: auto;
    }

    .pf-tab-btn {
        white-space: nowrap;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .pf-container {
        padding: 20px 12px;
    }

    .pf-auth-card {
        padding: 24px;
    }

    .pf-dashboard-grid,
    .pf-competitions-grid,
    .pf-overview-cards {
        grid-template-columns: 1fr;
    }

    .pf-competitions-filters {
        flex-direction: column;
    }

    .pf-competitions-filters .pf-sort {
        width: 100%;
    }

    .pf-comp-single-meta {
        grid-template-columns: 1fr;
    }

    .pf-comp-single-image {
        height: 200px;
    }

    .pf-comp-single-title {
        font-size: 24px;
    }

    .pf-cart-actions {
        flex-direction: column;
        gap: 12px;
    }

    .pf-cart-actions .pf-btn {
        width: 100%;
    }
}
