﻿/**
 * Photo Award Plugin - Frontend Styles
 * 
 * Consolidated frontend styles including:
 * - Profile pages and dashboard
 * - Entry forms and management
 * - Event listings and registration
 * - Gallery and media display
 * - Authentication forms
 * - Responsive design
 */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght,SOFT,WONK@9..144,400..900,0..100,0..1&family=Big+Shoulders+Display:wght@700;800;900&family=Anton&family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Bodoni+Moda:opsz,wght@6..96,400..900&family=Source+Serif+4:opsz,wght@8..60,400..900&family=DM+Mono:wght@400;500&family=Lora:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&family=IBM+Plex+Sans:wght@400;500;600;700;800&family=IBM+Plex+Sans+Condensed:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Merriweather:wght@400;700;900&family=Source+Sans+3:wght@400;500;600;700;800&display=swap');

/* ===== PROFILE PAGE LAYOUT ===== */

.single-event .entry-header ,
.single-event .post-navigation {
    display: none;
}

.single-event .page-header {
    display: none;
}


/* Profile Container */
.photo-award-profile-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    min-height: 60vh;
    width: 100%;
}

.photo-award-profile-page.ast-narrow-container .site-content > .ast-container {
    max-width: 1240px;
}

/* ===== PROFILE SIDEBAR ===== */
.profile-sidebar {
    width: 250px;
    background: #fff;
    padding: 0 0 10px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.profile-user-info {
    padding: 19px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 16px;
}

.profile-user-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.profile-user-info p {
    margin: 0;
    color: #8a8a8a;
    font-size: 13px;
}

/* Profile Navigation */
.profile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-nav li {
    margin-bottom: 5px;
}

.profile-nav a {
    display: flex;
    align-items: center;
    padding: 11px 15px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.profile-nav a:hover {
    background: #f8f9fa;
    color: #df9400;
}

.profile-nav li.active a {
    background: #df9400;
    color: #fff;
}

.profile-nav .nav-icon {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== PROFILE CONTENT ===== */
.profile-content {
    flex: 1;
    background: #fff;
    padding: 24px 30px;
}

.profile-page h1 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 21px;
    font-weight: 600;
    border-bottom: 2px solid #dbdbdb;
    padding-bottom: 10px;
}

.profile-page p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

/* ===== DASHBOARD STATS ===== */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    border: 1px solid #e1e1e1;
    padding: 25px;
    text-align: center;
}



.stat-card h3 {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #df9400;
    margin: 0;
}

/* ===== FORM PLACEHOLDERS ===== */
.entry-form-placeholder,
.entries-list-placeholder,
.profile-form-placeholder,
.password-form-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* ===== LOGOUT PAGE ===== */
.logout-page {
    text-align: center;
    padding: 60px 20px;
}

.logout-page h1 {
    color: #dc3545;
    border-bottom: none;
}

/* ===== RESPONSIVE DESIGN - PROFILE ===== */
@media (max-width: 768px) {
    .photo-award-profile-container {
        flex-direction: column;
        padding: 15px 0;
        gap: 20px;
    }
    
    .profile-sidebar {
        width: 100%;
        position: static;
        order: 1;
    }
    
    .profile-content {
        order: 2;
        padding: 20px;
    }
    
    .profile-nav a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .photo-award-profile-container {
        padding: 10px;
    }
    
    .profile-sidebar,
    .profile-content {
        padding: 15px;
    }
    
    .profile-page h1 {
        font-size: 24px;
    }
    
    .profile-nav a {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .nav-icon {
        width: 14px;
        height: 14px;
    }
}



/* ===== FORM STYLES ===== */
.profile-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.btn {
    padding: 10px 20px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #df9400;
    color: #fff;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.form-group input.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-group input.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.form-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
    font-weight: 500;
}

/* Form Row Layout */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Required Field Indicator */
.required {
    color: #dc3545;
    font-weight: bold;
}

/* Select Dropdown */
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.form-group select:focus {
    outline: none;
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Textarea */
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.radio-label input[type="radio"] {
    margin: 0;
    width: auto;
}

.radio-label span {
    font-size: 14px;
    color: #555;
}

/* Readonly Input */
.form-group input[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Responsive Form Layout */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== SELECT2 STYLING ===== */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    padding-left: 12px;
    padding-right: 20px;
    color: #555;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    right: 8px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #df9400;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
}

.select2-container--default .select2-results__option,
select[name="country"] option,
select#country option,
select#reg-country option {
    color: #000000 !important;
    background-color: #ffffff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #df9400;
    color: #000000 !important;
}

.select2-dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Select2 */
@media (max-width: 768px) {
    .select2-container--default .select2-selection--single {
        height: 44px;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 42px;
    }
    
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 42px;
    }
}

/* ===== MY ENTRIES PAGE ===== */
.my-entries-page {
    padding: 20px 0;
}

.no-entries {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.entries-summary {
    margin-bottom: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.entries-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.user-entries-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-entries-table th {
    background: #f8f9fa;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.user-entries-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.user-entries-table tr:hover {
    background: #f8f9fa;
}

.user-entries-table tr:last-child td {
    border-bottom: none;
}

/* Entry Images */
.entry-images {
    /* width: 80px; */
    text-align: center;
    background: #fff;
    padding: 24px;
}

.imageinlist {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.imageinlist:hover {
    transform: scale(1.05);
}

.no-image {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 6px;
    text-align: center;
    line-height: 56px;
    font-size: 12px;
    color: #6c757d;
}

/* Entry Title */
.entry-title {
    min-width: 200px;
}

.entry-title strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.entry-title small {
    color: #6c757d;
    font-size: 12px;
}

.certificate-links {
    margin-top: 8px;
}

.certificate-link {
    display: inline-block;
    padding: 2px 8px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 5px;
    margin-bottom: 3px;
}

.certificate-link:hover {
    background: #218838;
    color: #fff;
}

/* Payment Status */
.payment-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.payment-label.wpi-pending {
    background: #fff3cd;
    color: #856404;
}

.payment-label.wpi-paid,
.payment-label.publish {
    background: #d4edda;
    color: #155724;
}

.payment-label.wpi-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.pay-link {
    display: inline-block;
    margin-top: 5px;
    padding: 4px 12px;
    background: #df9400;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
}

.pay-link:hover {
    background: #005a87;
    color: #fff;
}

/* Actions */
.entry-actions {
    white-space: nowrap;
}

.action-link {
    display: inline-block;
    margin-right: 10px;
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.view-link {
    background: #6c757d;
    color: #fff;
}

.view-link:hover {
    background: #5a6268;
    color: #fff;
}

.edit-link {
    background: #17a2b8;
    color: #fff;
}

.edit-link:hover {
    background: #138496;
    color: #fff;
}

.delete-link {
    background: #dc3545;
    color: #fff;
    cursor: pointer;
}

.delete-link:hover {
    background: #c82333;
    color: #fff;
}

/* Status */
.status-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-label.unpaid {
    background: #fff3cd;
    color: #856404;
}

.status-label.paid {
    background: #d4edda;
    color: #155724;
}

/* Delete Confirmation Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.modal-content p {
    margin: 0 0 20px 0;
    color: #666;
}

.modal-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}


.btn-danger:hover {
    background: #c82333;
}

/* ===== NEW ENTRY PAGE ===== */
.new-entry-page {
    padding: 20px 0;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.no-events-icon {
    margin-bottom: 20px;
    color: #6c757d;
}

.no-events h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
}

.no-events p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.events-summary {
    margin-bottom: 30px;
    padding: 20px;
    background: #eeeeee47;
    border-left: 4px solid #2196f3;
}

.events-summary p {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.event-card-wide {
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.event-card-wide:hover {
    border-color: #df9400;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.event-card-content {
    display: flex;
    align-items: stretch;
    padding: 16px 20px;
    gap: 16px;
    justify-content: space-between;
}

.event-icon {
    color: #df9400;
    flex-shrink: 0;
}

.event-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.event-title {
    font-size: 22px;
    font-weight: 600;
}

.event-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.event-title a:hover {
    color: #df9400;
}

.type-badge {
    display: inline-block;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.series {
    background: #e8f5e8;
    color: #2e7d32;
}

.type-badge.single {
    background: #e3f2fd;
    color: #1976d2;
}

.type-badge.both {
    background: #fff3e0;
    color: #f57c00;
}

.event-details {
    padding: 20px 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 13px;
}

.event-badges {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.countdown-timer {
    flex-shrink: 0;
    text-align: center;
    min-width: 120px;
}

.countdown-text {
    display: block;
}

.countdown-text span {
    font-weight: 600;
    color: inherit;
}

.event-action {
    flex-shrink: 0;
}

.event-action .btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.event-action .btn-primary {
    background: #df9400;
    color: #fff;
}

.event-action .btn-primary:hover {
    background: #005a87;
    color: #fff;
    transform: translateY(-1px);
}

.series-info {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

.series-info strong {
    color: #333;
    margin-right: 5px;
}

.event-description {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.event-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.countdown-timer {
    margin-bottom: 20px;
    text-align: center;
}

.countdown-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.countdown-display {
    font-size: 13px;
    font-weight: 200;
    color: #dc3545;
    font-family: 'Courier New', monospace;
}

.event-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.event-actions .btn {
    flex: 1;
    max-width: 140px;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.event-actions .btn-primary {
    background: #df9400;
    color: #fff;
}

.event-actions .btn-primary:hover {
    background: #005a87;
    color: #fff;
    transform: translateY(-1px);
}

.event-actions .btn-secondary {
    background: #6c757d;
    color: #fff;
}

.event-actions .btn-secondary:hover {
    background: #5a6268;
    color: #fff;
    transform: translateY(-1px);
}

/* ===== RESPONSIVE DESIGN - EVENTS ===== */
@media (max-width: 768px) {
    .event-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .event-info {
        width: 100%;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .event-badges {
        order: -1;
    }
    
    .countdown-timer {
        min-width: auto;
        width: 100%;
    }
    
    .event-action {
        width: 100%;
    }
    
    .event-action .btn {
        width: 100%;
        justify-content: center;
    }
    
    .events-summary {
        margin: 20px 10px 30px 10px;
        padding: 15px;
    }
    
    .no-events {
        margin: 20px 10px;
        padding: 40px 15px;
    }
}

/* ===== SUCCESS/ERROR MESSAGES ===== */
.profile-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.profile-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.profile-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.profile-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.event-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}


/**
 * Minimal Authentication Modal Styles
 * 
 * Essential styles only for modal and input functionality
 */

/* Modal Overlay */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.auth-modal-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 20px;
    z-index: 10000;
}

.auth-modal-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

/* Close Button */
.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    z-index: 10001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: unset;
    padding: 0;
    /* display: flex; */
}

.auth-modal-close:hover {
    color: #ff0000;
    background: unset;
}

/* Form Styles */
.auth-form {
    display: none;
    padding: 30px;
}

.auth-form.active {
    display: block;
}

.auth-form .btn-outline {
    width: 100%;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-form-header h2 {
    margin: 0 0 4px 0 !important;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}


.event-card-content span.countdown-text {
    font-size: 12px;
}

.auth-form-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Form Groups */
.form-group {
    /* margin-bottom: 20px; */
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: flex;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    justify-content: space-between;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #df9400;
}

.form-group input.error,
.form-group select.error {
    border-color: #e74c3c;
}

/* OTP Input */
.otp-input-container {
    display: flex;
    justify-content: center;
}

.otp-input {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    max-width: 180px;
    font-family: monospace;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    justify-content: flex-start !important;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #df9400;
    border-color: #df9400;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}



.btn-primary {
    background: #df9400;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    color: #df9400;
    border: 1px solid #df9400;
}

.btn-outline:hover {
    background: #df9400;
    color: white;
}

.btn-link {
    background: none;
    color: #5d5d5d;
    padding: 5px 0;
    font-size: 13px;
}

.btn-link:hover {
    color: #005a87;
    background: unset;
}

.btn-full {
    width: 100%;
    margin-bottom: 15px;
}

/* Form Footer */
.auth-form-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-form-footer .btn-link {
    display: block;
    /* margin-bottom: 8px; */
    box-shadow: unset;
}

/* Messages */
.auth-message {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.auth-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.auth-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.auth-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

/* Form Errors */
.form-error {
    margin-top: 4px;
    font-size: 12px;
    color: #e74c3c;
    display: none;
}

.form-error.show {
    display: block;
}

/* Auth Links Widget */
.auth-links-widget {
    display: inline-block;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-greeting {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.guest-menu .btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-modal-container {
        margin: 10px;
        max-width: none;
    }
    
    .auth-form {
        padding: 20px 15px;
    }
    
    .auth-form-header h2 {
        font-size: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .user-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .user-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .otp-input {
        font-size: 18px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .auth-form {
        padding: 15px 10px;
    }
    
    .auth-form-header h2 {
        font-size: 18px;
    }
    
    .form-group input,
    .form-group select {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ===== EVENT REGISTRATION FORM STYLES ===== */
.event-registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.event-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    text-align: center;
}

.event-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0 0 30px 0;
    text-align: center;
    font-weight: 400;
}

.ui.form {
    background: #fff;
    padding: 30px;
}

.ui.form .field {
    margin-bottom: 25px;
}

.ui.form .field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.ui.form .field input[type="text"],
.ui.form .field input[type="email"],
.ui.form .field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.ui.form .field input:focus,
.ui.form .field textarea:focus {
    outline: none;
    border-color: #df9400;
}

.ui.form .field input.error,
.ui.form .field textarea.error {
    border-color: #dc3545;
}

.field-entry-type {
    margin-bottom: 30px;
}

.entry-type-info {
    padding: 15px;
    background: #f8f9fa;
    border-left: 3px solid #df9400;
    margin-top: 10px;
}

.entry-type-info p {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.ui.radio.checkbox {
    margin-bottom: 15px;
}

.ui.radio.checkbox input[type="radio"] {
    margin-right: 8px;
}

.ui.radio.checkbox label {
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.topic-checkbox-group {
    margin-bottom: 15px;
   
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 9px;
}

.ui.checkbox.topic-checkbox {
    display: flex;
}

.ui.checkbox.topic-checkbox input[type="checkbox"] {
    margin-right: 8px;
}

.ui.checkbox.topic-checkbox label {
    cursor: pointer;
    font-weight: normal;
    margin: 0;
}

.topic-selection-info {
}

.topic-selection-info small {
    color: #666;
    font-size: 13px;
}

.price-value {
    font-weight: 600;
    color: #df9400;
    font-size: 16px;
}

.field-upload {
    margin-bottom: 30px;
}

.upload-section {
    margin-top: 15px;
}

.image-upload-area {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
}

.upload-input-div {
    display: block;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.upload-preview {
    margin-top: 15px;
}

.photo-preview {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.photo-preview img {
    max-width: 150px;
    max-height: 150px;
    border: 1px solid #ddd;
}

.remove-photo {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

.series-upload-container {
    margin-top: 15px;
}

.upload-instructions {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 3px solid #e60023;
    color: #111827;
}

.series-inputs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.series-upload-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fff;
}

.series-upload-item small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 12px;
}

.ui.checkbox {display: flex;align-items: center;}

.ui.checkbox input[type="checkbox"] {
    margin-right: 8px;
}

.ui.checkbox label {
    cursor: pointer;
    font-weight: normal;
    margin: 0 !important;
}

.ui.button.primary {
    background: #e60023;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ui.button.primary:hover {
    background: #bf001d;
}

.ui.button.primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.ui.message {
    padding: 15px;
    margin: 20px 0;
    font-weight: 500;
}

.ui.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ui.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ui.message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.field-error {
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
    font-weight: 500;
    display: none;
}

.field-error.show {
    display: block;
}

.field.has-error input,
.field.has-error textarea {
    border-color: #dc3545;
}


.field.field-topics.has-error {
    border: 1px solid #eee;
    padding: 16px;
}

span.upload-input-div input {
    position: relative;
    opacity: 0;
    cursor: pointer;
    height: 40px;
    width: 100%;
    z-index: 2;
}

.field-topics-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.field.field-topics {
    padding: 16px;
    border: solid #eee 2px;
}

.field-topics-price-container {
    margin-top: 12px;
    width: 100%;
}

.delete-btn {
    /* width: 40px; */
    padding: 0;
}

.upload-input-div:before {
    content: 'Select Photo';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e60023;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all;
    cursor: pointer;
}

.upload-input-div:hover:before {
    background: #bf001d;
}


.remove-photo:hover {
    background: #000000;
}

.char-counter {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 5px;
}

/* Responsive Design for Event Registration */
@media (max-width: 768px) {
    .event-registration-container {
        padding: 15px;
    }
    
    .ui.form {
        padding: 20px;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .event-subtitle {
        font-size: 16px;
    }
    
    .series-inputs-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ui.button.primary {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .event-registration-container {
        padding: 10px;
    }
    
    .ui.form {
        padding: 15px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .image-upload-area {
        padding: 20px;
    }
    
    .series-upload-item {
        padding: 10px;
    }
}


.single-entry-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
}

.entry-header {
    background: #ffffff;
    padding: 24px;
    margin-bottom: 24px;
}

.entry-title {
    margin: 0 0 16px 0;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.entry-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.entry-meta span {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
}

.entry-type {
    background: #f3f4f6;
    color: #6b7280;
}

.entry-cost {
    background: #dbeafe;
    color: #1e40af;
}

.payment-status {
    font-weight: 600;
}

.status-wpi-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-wpi-paid, .status-publish {
}

.status-wpi-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.status-wpi-refunded {
    background: #e0f2fe;
    color: #0284c7;
}

.entry-content {
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.detail-section {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 16px;
}

.detail-section h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h3 svg {
    color: #6b7280;
    flex-shrink: 0;
}

.entry-images h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.entry-images h3 svg {
    color: #6b7280;
    flex-shrink: 0;
}

.detail-section p {
    margin: 0 0 8px 0;
    color: #374151;
    line-height: 1.5;
}

.certificate-link {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.certificate-link:hover {
    background: #aa7102;
    color: white;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.image-item {
    position: relative;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.entry-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: unset;
    border-radius: 0;
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.pay-btn {
    background: #10b981;
    color: white;
    border-color: #10b981;
    order: 2;
}

.pay-btn:hover {
    background: #059669;
    color: white;
}

.edit-btn {order: 1;}

.edit-btn:hover {
    /* background: #d97706; */
    /* color: white; */
}

.delete-btn {
    /* background: #ef4444; */
    color: #ef4444;
    /* border-color: #ef4444; */
}

.delete-btn:hover {
    background: #dc2626;
    color: white;
}

.back-btn {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    order: -1;
    margin-right: auto;
}

.back-btn:hover {
    background: #4b5563;
    color: white;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

body .modal-content {
    background: white;
    padding: 24px;
    border-radius: 0;
    max-width: 400px;
    width: 90%;
}

.modal-actions .btn {width: 100%;}


.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}


.entry-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
    gap: 1rem;
    margin: 0;
}

.detail-section p:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .entry-content {
        grid-template-columns: 1fr;
    }
    
    .entry-actions {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
}


/* Entries List Container */
.entries-list-container {
    margin-top: 20px;
}

/* Entry Row */
.entry-row {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.entry-row:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

/* Row Image */
.entry-row-image {
    width: 80px;
    height: 80px;
    margin-right: 16px;
    position: relative;
    flex-shrink: 0;
}

.entry-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.entry-row-image:hover img {
    transform: scale(1.05);
}

.entry-row-image.no-image {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-placeholder {
    color: #9ca3af;
}

.image-count-indicator {
    position: absolute;
    bottom: -4px;
    left: -4px;
    background: #999999;
    color: white;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

/* Row Content */
.entry-row-content {
    flex: 1;
    margin-right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.entry-row-title {
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.entry-row-title h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.entry-type-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 6px 0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-row-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
}

.entry-detail-item {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-size: 13px;
}

.entry-detail-item svg {
    margin-right: 6px;
    flex-shrink: 0;
}

.status-item {
    font-weight: 500;
}

.entry-row-certificates {
    margin-top: 4px;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    text-decoration: none;
    font-size: 12px;
    margin-right: 12px;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.certificate-link:hover {
    color: #1d4ed8;
}

.certificate-link svg {
    margin-right: 4px;
}

/* Certificate Awards Section */
.entry-row-certificates-awards {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.certificate-award-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.certificate-award-item:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Award level specific styling */
.certificate-award-item.certificate-award-gold {
    border-left: 4px solid #FFD700;
    background: linear-gradient(to right, #fffbf0 0%, #fff 10%);
}

.certificate-award-item.certificate-award-silver {
    border-left: 4px solid #C0C0C0;
    background: linear-gradient(to right, #f8f8f8 0%, #fff 10%);
}

.certificate-award-item.certificate-award-bronze {
    border-left: 4px solid #CD7F32;
    background: linear-gradient(to right, #faf7f3 0%, #fff 10%);
}

.certificate-award-item.certificate-award-mention {
    border-left: 4px solid #6c757d;
    background: linear-gradient(to right, #f5f5f5 0%, #fff 10%);
}

.certificate-award-item .award-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
    flex: 1;
}

.award-label .award-level-text {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.award-label-gold .award-level-text {
    color: #B8860B;
}

.award-label-silver .award-level-text {
    color: #808080;
}

.award-label-bronze .award-level-text {
    color: #CD7F32;
}

.award-label-mention .award-level-text {
    color: #6c757d;
}

.award-label .award-separator {
    color: #999;
    font-weight: 400;
    font-size: 13px;
    text-transform: lowercase;
}

.award-label .award-topic-text {
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.certificate-download-btn,
.certificate-generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.certificate-download-btn {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.certificate-download-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    transform: translateY(-1px);
}

.certificate-generate-btn {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.certificate-generate-btn:hover {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
    transform: translateY(-1px);
}

.certificate-generate-btn:active,
.certificate-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.certificate-generate-btn:disabled {
    background: #9e9e9e;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

.certificate-generate-btn:disabled:hover {
    background: #9e9e9e;
    box-shadow: none;
    transform: none;
}

.certificate-download-btn svg,
.certificate-generate-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke-width: 2.5;
}

.certificate-generate-btn .btn-text,
.certificate-generate-btn .btn-loading {
    display: inline-block;
}

.certificate-generate-btn.loading .btn-text {
    display: none;
}

.certificate-generate-btn.loading .btn-loading {
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certificate-award-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .certificate-award-item .award-label {
        width: 100%;
    }
    
    .certificate-download-btn,
    .certificate-generate-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Row Actions */
.entry-row-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    /* height: 100%; */
    justify-content: space-between;
}

.pay-button {
    display: inline-flex;
    align-items: center;
    background: #10b981;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.pay-button:hover {
    background: #059669;
    color: white;
}

.pay-button svg {
    margin-right: 4px;
}

.action-buttons {
    display: flex;
    gap: 6px;
}

.action-btn {
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.view-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #3b82f6;
}

.edit-btn:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #f59e0b;
}

.delete-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .entry-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }
    
    .entry-row-image {
        width: 60px;
        height: 60px;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .entry-row-content {
        margin-right: 0;
        margin-bottom: 12px;
        width: 100%;
    }
    
    .entry-row-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .entry-row-actions {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
}

/* Summary and No Entries */
.entries-summary p {margin: 0;}

.no-entries {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 20px 0;
}

.no-entries p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 20px;
}


.btn:hover {
    background: #aa7102;
    color: white;
}

.btn-link:hover {
    background:unset;
    color:#aa7102;
    
}

.btn-primary {
    background: #3b82f6;
}

.btn-primary:hover {
    background: #aa7102;
}

/* Pagination Styles */
.entries-pagination {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 30px 0;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    gap: 6px;
}

.pagination-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

.pagination-number.current {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .entries-pagination {
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .pagination-dots {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

.bsui .row {
    margin: 0;
}

.event-info .event-title {
    text-align: left;
}

.photo-award-profile-container .button {
    border-radius: unset !important;
    
}

/* Countdown Shortcode Styles */
.photo-award-countdown-wrapper {
    margin: 20px 0;
    text-align: center;
}

.countdown-active {
    display: block;
}

.countdown-expired {
    display: block;
    padding: 16px 16px 19px;
    border: 1px solid #eee;
}

.countdown-message {
    margin: 0 !important;
    font-size: 36px;
}

.countdown-timer {
    margin: 20px 0;
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #333;
    margin-bottom: 10px;
}

.countdown-days,
.countdown-hours,
.countdown-minutes,
.countdown-seconds {
    padding: 10px 15px 4px;
    min-width: 60px;
    border: 1px solid #eee;
}

.countdown-separator {
    font-size: 24px;
    color: #999;
    font-weight: normal;
}

.countdown-labels {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.countdown-labels span {
    min-width: 96px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
}

.countdown-link {
    margin-top: 20px;
}

.countdown-register-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.countdown-register-btn:hover {
    background-color: #333;
    color: #fff;
}

.countdown-error {
    color: #d63638;
    padding: 10px;
    background-color: #fef0f0;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Responsive countdown styles */
@media (max-width: 768px) {
    .countdown-display {
        font-size: 24px;
        gap: 5px;
    }
    
    .countdown-days,
    .countdown-hours,
    .countdown-minutes,
    .countdown-seconds {
        padding: 8px 10px;
        min-width: 45px;
        font-size: 20px;
    }
    
    .countdown-separator {
        font-size: 18px;
    }
    
    .countdown-labels {
        font-size: 10px;
        gap: 5px;
    }
    
    .countdown-labels span {
        min-width: 45px;
    }
}

/* Contact Form Styles */
.photo-award-contact-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.photo-award-contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.photo-award-contact-form .form-left {
    flex: 1;
    min-width: 300px;
}

.photo-award-contact-form .form-right {
    flex: 1;
    min-width: 300px;
}

.photo-award-contact-form .form-field {
    margin-bottom: 20px;
}

.photo-award-contact-form input[type="text"],
.photo-award-contact-form input[type="email"],
.photo-award-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.photo-award-contact-form input[type="text"]:focus,
.photo-award-contact-form input[type="email"]:focus,
.photo-award-contact-form textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.photo-award-contact-form input.error,
.photo-award-contact-form textarea.error {
    border-color: #dc3232;
}

.photo-award-contact-form .error-message {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.photo-award-contact-form .form-messages {
    margin: 15px 0;
    padding: 12px 15px;
    border-radius: 4px;
    display: none;
}

.photo-award-contact-form .form-messages.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.photo-award-contact-form .form-messages.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

.photo-award-contact-form .form-messages .success-message,
.photo-award-contact-form .form-messages .error-message {
    margin: 0;
}

.photo-award-contact-form .contact-submit-btn {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.photo-award-contact-form .contact-submit-btn:hover:not(:disabled) {
    background-color: #005a87;
}

.photo-award-contact-form .contact-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.photo-award-contact-form .btn-loader {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .photo-award-contact-form {
        flex-direction: column;
    }
    
    .photo-award-contact-form .form-left,
    .photo-award-contact-form .form-right {
        flex: 1;
        width: 100%;
    }
}

/* Admin Contact Submissions Page */
.contact-submissions-table .message-preview {
    max-width: 300px;
    word-wrap: break-word;
}

.contact-submissions-table .message-full {
    max-width: 500px;
    word-wrap: break-word;
    margin-top: 10px;
}

.contact-submissions-table .toggle-message {
    margin-top: 5px;
    font-size: 12px;
}

/* ==========================================================
   Global Template redesign layer - Plugin Theme handoff
   CSS-only mapping:
   prestige-gold = Bauhaus, gallery-curator = Kimono,
   midnight-cinema = Obsidian, signal-ops = Broadside,
   gala-prism = Atelier.
   ========================================================== */

body.photo-award-global-template-prestige-gold,
body.photo-award-profile-page.photo-award-global-template-prestige-gold,
.photo-award-global-template-prestige-gold {
    --pa-theme-page-bg: #efece4;
    --pa-theme-surface: #ffffff;
    --pa-theme-surface-2: #e7e2d4;
    --pa-theme-soft: #f3efdf;
    --pa-theme-line: #0a0a0a;
    --pa-theme-line-strong: #0a0a0a;
    --pa-theme-ink: #0a0a0a;
    --pa-theme-muted: #555555;
    --pa-theme-accent: #b88a2e;
    --pa-theme-accent-2: #d44b00;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: 6px 6px 0 #0a0a0a;
    --pa-theme-radius: 0;
    --pa-theme-display: "Archivo Black", "Inter", system-ui, sans-serif;
    --pa-theme-body: "Space Grotesk", "Inter", system-ui, sans-serif;
    --pa-theme-mono: "Space Mono", ui-monospace, monospace;
}

body.photo-award-global-template-gallery-curator,
body.photo-award-profile-page.photo-award-global-template-gallery-curator,
.photo-award-global-template-gallery-curator {
    --pa-theme-page-bg: #f6f6f3;
    --pa-theme-surface: #ffffff;
    --pa-theme-surface-2: #eeeeea;
    --pa-theme-soft: #f9f9f6;
    --pa-theme-line: #151515;
    --pa-theme-line-strong: #0a0a0a;
    --pa-theme-ink: #0a0a0a;
    --pa-theme-muted: #555555;
    --pa-theme-accent: #0a0a0a;
    --pa-theme-accent-2: #3a3a3a;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
    --pa-theme-radius: 2px;
    --pa-theme-display: "Libre Baskerville", Georgia, serif;
    --pa-theme-body: "Helvetica Neue", Arial, system-ui, sans-serif;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace;
}

body.photo-award-global-template-midnight-cinema,
body.photo-award-profile-page.photo-award-global-template-midnight-cinema,
.photo-award-global-template-midnight-cinema {
    --pa-theme-page-bg: #000000;
    --pa-theme-surface: #0a0a0a;
    --pa-theme-surface-2: #141414;
    --pa-theme-soft: #101010;
    --pa-theme-line: #2a2a2a;
    --pa-theme-line-strong: #d4ff00;
    --pa-theme-ink: #fafafa;
    --pa-theme-muted: #b8b8b8;
    --pa-theme-accent: #d4ff00;
    --pa-theme-accent-2: #fafafa;
    --pa-theme-on-accent: #000000;
    --pa-theme-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    --pa-theme-radius: 0;
    --pa-theme-display: "Big Shoulders Display", "Anton", "Inter Tight", system-ui, sans-serif;
    --pa-theme-body: "Inter", system-ui, sans-serif;
    --pa-theme-mono: "JetBrains Mono", ui-monospace, monospace;
}

body.photo-award-global-template-signal-ops,
body.photo-award-profile-page.photo-award-global-template-signal-ops,
.photo-award-global-template-signal-ops {
    --pa-theme-page-bg: #f3f8ff;
    --pa-theme-surface: #ffffff;
    --pa-theme-surface-2: #e7f0ff;
    --pa-theme-soft: #f8fbff;
    --pa-theme-line: #c4d8f7;
    --pa-theme-line-strong: #0b5fff;
    --pa-theme-ink: #082044;
    --pa-theme-muted: #4f668c;
    --pa-theme-accent: #0b5fff;
    --pa-theme-accent-2: #003a8c;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: 0 18px 46px rgba(11, 95, 255, 0.12);
    --pa-theme-radius: 8px;
    --pa-theme-display: "IBM Plex Sans Condensed", "Arial Narrow", Inter, system-ui, sans-serif;
    --pa-theme-body: "IBM Plex Sans", Inter, system-ui, sans-serif;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace;
}

body.photo-award-global-template-gala-prism,
body.photo-award-profile-page.photo-award-global-template-gala-prism,
.photo-award-global-template-gala-prism {
    --pa-theme-page-bg: #fff7f8;
    --pa-theme-surface: #ffffff;
    --pa-theme-surface-2: #ffe6e9;
    --pa-theme-soft: #fffafb;
    --pa-theme-line: #f0c4c8;
    --pa-theme-line-strong: #c8102e;
    --pa-theme-ink: #26080c;
    --pa-theme-muted: #7a3943;
    --pa-theme-accent: #c8102e;
    --pa-theme-accent-2: #7a0019;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: 0 22px 52px rgba(200, 16, 46, 0.12);
    --pa-theme-radius: 10px;
    --pa-theme-display: "Merriweather", Georgia, serif;
    --pa-theme-body: "Source Sans 3", "Segoe UI", Inter, system-ui, sans-serif;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace;
}

body.photo-award-global-template-template-7,
body.photo-award-profile-page.photo-award-global-template-template-7,
.photo-award-global-template-template-7 {
    --pa-theme-page-bg: #07080a;
    --pa-theme-surface: #101216;
    --pa-theme-surface-2: #171a20;
    --pa-theme-soft: #20242c;
    --pa-theme-line: rgba(255, 255, 255, 0.12);
    --pa-theme-line-strong: #e10613;
    --pa-theme-ink: #f7f7f8;
    --pa-theme-muted: #a7adb8;
    --pa-theme-accent: #e10613;
    --pa-theme-accent-2: #ff3b45;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
    --pa-theme-radius: 8px;
    --pa-theme-display: "Inter", "Arial", system-ui, sans-serif;
    --pa-theme-body: "Inter", "Arial", system-ui, sans-serif;
    --pa-theme-mono: "JetBrains Mono", ui-monospace, monospace;
}

body[class*="photo-award-global-template-"] .photo-award-profile-container,
body[class*="photo-award-global-template-"] .dashboard-template,
body[class*="photo-award-global-template-"] .entry-template,
body[class*="photo-award-global-template-"] .event-registration-container,
body[class*="photo-award-global-template-"] .photo-award-daily-photos {
    font-family: var(--pa-theme-body);
}

body[class*="photo-award-global-template-"].photo-award-profile-page,
body[class*="photo-award-global-template-"].photo-award-event-submission-page {
    background: var(--pa-theme-page-bg) !important;
    color: var(--pa-theme-ink);
}

body[class*="photo-award-global-template-"] .photo-award-profile-container,
body[class*="photo-award-global-template-"] .profile-sidebar,
body[class*="photo-award-global-template-"] .profile-content,
body[class*="photo-award-global-template-"] .dashboard-hero,
body[class*="photo-award-global-template-"] .dashboard-panel,
body[class*="photo-award-global-template-"] .stat-card,
body[class*="photo-award-global-template-"] .entry-page-header,
body[class*="photo-award-global-template-"] .entry-row,
body[class*="photo-award-global-template-"] .event-card-wide,
body[class*="photo-award-global-template-"] .embedded-entry-form-shell,
body[class*="photo-award-global-template-"] .event-registration-container #event-registration-form,
body[class*="photo-award-global-template-"] .photo-award-daily-card {
    background: var(--pa-theme-surface) !important;
    border-color: var(--pa-theme-line) !important;
    border-radius: var(--pa-theme-radius) !important;
    color: var(--pa-theme-ink) !important;
    box-shadow: var(--pa-theme-shadow) !important;
}

body[class*="photo-award-global-template-"] .dashboard-hero h1,
body[class*="photo-award-global-template-"] .entry-page-header h1,
body[class*="photo-award-global-template-"] .profile-content h1,
body[class*="photo-award-global-template-"] .profile-content h2,
body[class*="photo-award-global-template-"] .dashboard-panel h2,
body[class*="photo-award-global-template-"] .stat-number,
body[class*="photo-award-global-template-"] .photo-award-daily-photos__header h2 {
    color: var(--pa-theme-ink) !important;
    font-family: var(--pa-theme-display);
    letter-spacing: -0.035em;
}

body[class*="photo-award-global-template-"] .profile-nav a,
body[class*="photo-award-global-template-"] .btn,
body[class*="photo-award-global-template-"] .button,
body[class*="photo-award-global-template-"] .btn-primary,
body[class*="photo-award-global-template-"] .btn-secondary,
body[class*="photo-award-global-template-"] #event-registration-form button,
body[class*="photo-award-global-template-"] input[type="submit"] {
    border-radius: var(--pa-theme-radius) !important;
    font-family: var(--pa-theme-body);
    font-weight: 800;
}

body[class*="photo-award-global-template-"] .profile-nav li.active a,
body[class*="photo-award-global-template-"] .profile-nav a:hover,
body[class*="photo-award-global-template-"] .btn-primary,
body[class*="photo-award-global-template-"] #event-registration-form button[type="submit"],
body[class*="photo-award-global-template-"] input[type="submit"] {
    background: var(--pa-theme-accent) !important;
    border-color: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
}

body[class*="photo-award-global-template-"] input,
body[class*="photo-award-global-template-"] select,
body[class*="photo-award-global-template-"] textarea,
body[class*="photo-award-global-template-"] .field,
body[class*="photo-award-global-template-"] .inline.fields {
    background: var(--pa-theme-surface) !important;
    border-color: var(--pa-theme-line) !important;
    border-radius: var(--pa-theme-radius) !important;
    color: var(--pa-theme-ink) !important;
}

body.photo-award-global-template-prestige-gold .profile-sidebar,
body.photo-award-global-template-prestige-gold .profile-content,
body.photo-award-global-template-prestige-gold .dashboard-hero,
body.photo-award-global-template-prestige-gold .dashboard-panel,
body.photo-award-global-template-prestige-gold .stat-card,
body.photo-award-global-template-prestige-gold .entry-row,
body.photo-award-global-template-prestige-gold .event-card-wide,
body.photo-award-global-template-prestige-gold .photo-award-daily-card {
    border-width: 2px !important;
    text-transform: none;
}

body.photo-award-global-template-prestige-gold .dashboard-hero h1,
body.photo-award-global-template-prestige-gold .entry-page-header h1,
body.photo-award-global-template-prestige-gold .profile-content h1,
body.photo-award-global-template-prestige-gold .profile-content h2,
body.photo-award-global-template-prestige-gold .stat-number {
    text-transform: uppercase;
}

body.photo-award-global-template-gallery-curator .profile-nav a,
body.photo-award-global-template-gallery-curator .btn,
body.photo-award-global-template-gallery-curator .btn-primary,
body.photo-award-global-template-gallery-curator .btn-secondary,
body.photo-award-global-template-gallery-curator #event-registration-form button {
    text-transform: lowercase;
}

body.photo-award-global-template-gallery-curator .entry-row-image img,
body.photo-award-global-template-gallery-curator .photo-award-daily-card__image img {
    transition: transform .35s ease;
}

body.photo-award-global-template-gallery-curator .entry-row:hover .entry-row-image img,
body.photo-award-global-template-gallery-curator .photo-award-daily-card:hover .photo-award-daily-card__image img {
    transform: scale(1.025);
}

body.photo-award-global-template-template-7 .profile-sidebar,
body.photo-award-global-template-template-7 .profile-content,
body.photo-award-global-template-template-7 .dashboard-hero,
body.photo-award-global-template-template-7 .dashboard-panel,
body.photo-award-global-template-template-7 .stat-card,
body.photo-award-global-template-template-7 .entry-page-header,
body.photo-award-global-template-template-7 .entry-row,
body.photo-award-global-template-template-7 .event-card-wide,
body.photo-award-global-template-template-7 .embedded-entry-form-shell,
body.photo-award-global-template-template-7 .event-registration-container,
body.photo-award-global-template-template-7 .event-registration-container #event-registration-form,
body.photo-award-global-template-template-7 .photo-award-daily-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)) !important;
    border-color: var(--pa-theme-line) !important;
}

body.photo-award-global-template-template-7 .profile-nav a,
body.photo-award-global-template-template-7 .btn,
body.photo-award-global-template-template-7 .button,
body.photo-award-global-template-template-7 .btn-primary,
body.photo-award-global-template-template-7 .btn-secondary,
body.photo-award-global-template-template-7 #event-registration-form button,
body.photo-award-global-template-template-7 input[type="submit"] {
    letter-spacing: 0;
    text-transform: uppercase;
}

body.photo-award-global-template-template-7 input,
body.photo-award-global-template-template-7 select,
body.photo-award-global-template-template-7 textarea,
body.photo-award-global-template-template-7 .field,
body.photo-award-global-template-template-7 .inline.fields {
    background: #171a20 !important;
}

body.photo-award-global-template-midnight-cinema .profile-sidebar,
body.photo-award-global-template-midnight-cinema .profile-content,
body.photo-award-global-template-midnight-cinema .dashboard-hero,
body.photo-award-global-template-midnight-cinema .dashboard-panel,
body.photo-award-global-template-midnight-cinema .stat-card,
body.photo-award-global-template-midnight-cinema .entry-page-header,
body.photo-award-global-template-midnight-cinema .entry-row,
body.photo-award-global-template-midnight-cinema .event-card-wide,
body.photo-award-global-template-midnight-cinema .photo-award-daily-card {
    border-width: 1px !important;
}

body.photo-award-global-template-midnight-cinema .dashboard-hero h1,
body.photo-award-global-template-midnight-cinema .entry-page-header h1,
body.photo-award-global-template-midnight-cinema .profile-content h1,
body.photo-award-global-template-midnight-cinema .profile-content h2,
body.photo-award-global-template-midnight-cinema .stat-number {
    text-transform: uppercase;
}

body.photo-award-global-template-midnight-cinema .profile-nav a,
body.photo-award-global-template-midnight-cinema .dashboard-panel small,
body.photo-award-global-template-midnight-cinema .entry-type-badge,
body.photo-award-global-template-midnight-cinema .type-badge {
    font-family: var(--pa-theme-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.photo-award-global-template-signal-ops .profile-content,
body.photo-award-global-template-signal-ops .dashboard-panel,
body.photo-award-global-template-signal-ops .entry-row,
body.photo-award-global-template-signal-ops .event-card-wide,
body.photo-award-global-template-signal-ops .photo-award-daily-card {
    border-top-width: 3px !important;
}

body.photo-award-global-template-signal-ops .dashboard-hero h1,
body.photo-award-global-template-signal-ops .entry-page-header h1,
body.photo-award-global-template-signal-ops .profile-content h1,
body.photo-award-global-template-signal-ops .profile-content h2 {
    font-style: italic;
}

body.photo-award-global-template-gala-prism .profile-content,
body.photo-award-global-template-gala-prism .dashboard-panel,
body.photo-award-global-template-gala-prism .stat-card,
body.photo-award-global-template-gala-prism .entry-row,
body.photo-award-global-template-gala-prism .event-card-wide,
body.photo-award-global-template-gala-prism .photo-award-daily-card {
    border-width: 1px !important;
}

body.photo-award-global-template-gala-prism .profile-sidebar {
    background: linear-gradient(145deg, #fffdf9 0%, var(--pa-theme-surface-2) 100%) !important;
}

body[class*="photo-award-global-template-"] .photo-award-daily-card__award,
body[class*="photo-award-global-template-"] .entry-type-badge,
body[class*="photo-award-global-template-"] .type-badge,
body[class*="photo-award-global-template-"] .status-badge {
    background: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
    border-color: var(--pa-theme-accent) !important;
    border-radius: var(--pa-theme-radius) !important;
}

/* Absolute final Plugin Theme lock. Keep this block at the end. */
body.photo-award-global-template-prestige-gold,
body.photo-award-profile-page.photo-award-global-template-prestige-gold {
    --pa-theme-page-bg: #efece4 !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #e7e2d4 !important;
    --pa-theme-soft: #f3efdf !important;
    --pa-theme-line: #0a0a0a !important;
    --pa-theme-line-strong: #0a0a0a !important;
    --pa-theme-ink: #0a0a0a !important;
    --pa-theme-muted: #555555 !important;
    --pa-theme-accent: #b88a2e !important;
    --pa-theme-accent-2: #d44b00 !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 6px 6px 0 #0a0a0a !important;
    --pa-theme-radius: 0px !important;
    --pa-theme-display: "Archivo Black", "Arial Black", system-ui, sans-serif !important;
    --pa-theme-body: "Space Grotesk", Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "Space Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-gallery-curator,
body.photo-award-profile-page.photo-award-global-template-gallery-curator {
    --pa-theme-page-bg: #f6f6f3 !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #eeeeea !important;
    --pa-theme-soft: #f9f9f6 !important;
    --pa-theme-line: #151515 !important;
    --pa-theme-line-strong: #0a0a0a !important;
    --pa-theme-ink: #0a0a0a !important;
    --pa-theme-muted: #555555 !important;
    --pa-theme-accent: #0a0a0a !important;
    --pa-theme-accent-2: #3a3a3a !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 0 18px 42px rgba(0, 0, 0, 0.08) !important;
    --pa-theme-radius: 2px !important;
    --pa-theme-display: "Libre Baskerville", Georgia, serif !important;
    --pa-theme-body: "Helvetica Neue", Arial, system-ui, sans-serif !important;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-midnight-cinema,
body.photo-award-profile-page.photo-award-global-template-midnight-cinema {
    --pa-theme-page-bg: #000000 !important;
    --pa-theme-surface: #0a0a0a !important;
    --pa-theme-surface-2: #141414 !important;
    --pa-theme-soft: #101010 !important;
    --pa-theme-line: #2a2a2a !important;
    --pa-theme-line-strong: #d4ff00 !important;
    --pa-theme-ink: #fafafa !important;
    --pa-theme-muted: #b8b8b8 !important;
    --pa-theme-accent: #d4ff00 !important;
    --pa-theme-accent-2: #fafafa !important;
    --pa-theme-on-accent: #000000 !important;
    --pa-theme-shadow: 0 30px 80px rgba(0, 0, 0, 0.8) !important;
    --pa-theme-radius: 0px !important;
    --pa-theme-display: "Big Shoulders Display", Impact, system-ui, sans-serif !important;
    --pa-theme-body: Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "JetBrains Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-signal-ops,
body.photo-award-profile-page.photo-award-global-template-signal-ops {
    --pa-theme-page-bg: #f3f8ff !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #e7f0ff !important;
    --pa-theme-soft: #f8fbff !important;
    --pa-theme-line: #c4d8f7 !important;
    --pa-theme-line-strong: #0b5fff !important;
    --pa-theme-ink: #082044 !important;
    --pa-theme-muted: #4f668c !important;
    --pa-theme-accent: #0b5fff !important;
    --pa-theme-accent-2: #003a8c !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 0 18px 46px rgba(11, 95, 255, 0.12) !important;
    --pa-theme-radius: 8px !important;
    --pa-theme-display: "IBM Plex Sans Condensed", "Arial Narrow", Inter, system-ui, sans-serif !important;
    --pa-theme-body: "IBM Plex Sans", Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-gala-prism,
body.photo-award-profile-page.photo-award-global-template-gala-prism {
    --pa-theme-page-bg: #fff7f8 !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #ffe6e9 !important;
    --pa-theme-soft: #fffafb !important;
    --pa-theme-line: #f0c4c8 !important;
    --pa-theme-line-strong: #c8102e !important;
    --pa-theme-ink: #26080c !important;
    --pa-theme-muted: #7a3943 !important;
    --pa-theme-accent: #c8102e !important;
    --pa-theme-accent-2: #7a0019 !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 0 22px 52px rgba(200, 16, 46, 0.12) !important;
    --pa-theme-radius: 10px !important;
    --pa-theme-display: Merriweather, Georgia, serif !important;
    --pa-theme-body: "Source Sans 3", "Segoe UI", Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace !important;
}

body.photo-award-profile-page .photo-award-profile-container {
    width: 75vw !important;
    max-width: 75vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body[class*="photo-award-global-template-"] .photo-award-profile-container,
body[class*="photo-award-global-template-"] .profile-sidebar,
body[class*="photo-award-global-template-"] .profile-content,
body[class*="photo-award-global-template-"] .dashboard-template,
body[class*="photo-award-global-template-"] .entry-template,
body[class*="photo-award-global-template-"] .event-registration-container,
body[class*="photo-award-global-template-"] .embedded-entry-form-shell {
    font-family: var(--pa-theme-body) !important;
    background: var(--pa-theme-surface) !important;
    color: var(--pa-theme-ink) !important;
    border-color: var(--pa-theme-line) !important;
    border-radius: var(--pa-theme-radius) !important;
}

body[class*="photo-award-global-template-"] .profile-content h1,
body[class*="photo-award-global-template-"] .profile-content h2,
body[class*="photo-award-global-template-"] .dashboard-hero h1,
body[class*="photo-award-global-template-"] .entry-page-header h1,
body[class*="photo-award-global-template-"] .stat-number {
    font-family: var(--pa-theme-display) !important;
}

body.photo-award-global-template-gallery-curator .photo-award-profile-container,
body.photo-award-global-template-gallery-curator .profile-sidebar,
body.photo-award-global-template-gallery-curator .profile-content,
body.photo-award-global-template-gallery-curator .dashboard-hero,
body.photo-award-global-template-gallery-curator .dashboard-panel,
body.photo-award-global-template-gallery-curator .stat-card,
body.photo-award-global-template-gallery-curator .entry-row,
body.photo-award-global-template-gallery-curator .event-card-wide,
body.photo-award-global-template-gallery-curator .embedded-entry-form-shell,
body.photo-award-global-template-gallery-curator .event-registration-container,
body.photo-award-global-template-gallery-curator .photo-award-daily-card {
    border-radius: 0 !important;
}

body.photo-award-global-template-gallery-curator .profile-nav a,
body.photo-award-global-template-gallery-curator .btn,
body.photo-award-global-template-gallery-curator .button,
body.photo-award-global-template-gallery-curator .btn-primary,
body.photo-award-global-template-gallery-curator .btn-secondary,
body.photo-award-global-template-gallery-curator #event-registration-form button,
body.photo-award-global-template-gallery-curator input[type="submit"],
body.photo-award-global-template-gallery-curator .event-registration-container .ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .ui.checkbox,
body.photo-award-global-template-gallery-curator .topic-checkbox {
    border-radius: 999px !important;
}

body.photo-award-global-template-midnight-cinema .photo-award-profile-container,
body.photo-award-global-template-midnight-cinema .profile-sidebar,
body.photo-award-global-template-midnight-cinema .profile-content,
body.photo-award-global-template-midnight-cinema .dashboard-template,
body.photo-award-global-template-midnight-cinema .entry-template,
body.photo-award-global-template-midnight-cinema .event-registration-container,
body.photo-award-global-template-midnight-cinema .embedded-entry-form-shell {
    background: #0a0a0a !important;
    color: #fafafa !important;
    border-color: #2a2a2a !important;
}

body.photo-award-global-template-midnight-cinema input,
body.photo-award-global-template-midnight-cinema select,
body.photo-award-global-template-midnight-cinema textarea {
    background: #141414 !important;
    border-color: #2a2a2a !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema .profile-nav li.active a,
body.photo-award-global-template-midnight-cinema .profile-nav a:hover,
body.photo-award-global-template-midnight-cinema .btn-primary,
body.photo-award-global-template-midnight-cinema #event-registration-form button[type="submit"],
body.photo-award-global-template-midnight-cinema input[type="submit"] {
    background: #d4ff00 !important;
    color: #000000 !important;
    border-color: #d4ff00 !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .photo-award-profile-container,
body.photo-award-global-template-prestige-gold .photo-award-profile-container.photo-award-judging-scope {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .profile-sidebar,
body.photo-award-global-template-prestige-gold .photo-award-judging-scope .profile-sidebar {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .profile-nav ul,
body.photo-award-global-template-prestige-gold .photo-award-judging-scope .profile-nav ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)) !important;
    gap: 10px !important;
}

body[class*="photo-award-global-template-"] .event-registration-container .inline.fields,
body[class*="photo-award-global-template-"] .event-registration-container .field,
body[class*="photo-award-global-template-"] .event-registration-container .ui.radio.checkbox,
body[class*="photo-award-global-template-"] .event-registration-container .ui.checkbox,
body[class*="photo-award-global-template-"] .topic-checkbox {
    min-height: 48px !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--pa-theme-surface-2) !important;
    border: 1px solid var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
}

body[class*="photo-award-global-template-"] .event-registration-container .ui.radio.checkbox label,
body[class*="photo-award-global-template-"] .event-registration-container .ui.checkbox label,
body[class*="photo-award-global-template-"] .topic-checkbox label {
    color: var(--pa-theme-ink) !important;
    font-family: var(--pa-theme-body) !important;
    line-height: 1.35 !important;
}

body[class*="photo-award-global-template-"] .event-registration-container input[type="radio"],
body[class*="photo-award-global-template-"] .event-registration-container input[type="checkbox"] {
    accent-color: var(--pa-theme-accent) !important;
}

@media (max-width: 1180px) {
    body.photo-award-profile-page .photo-award-profile-container {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }
}

/* Precision pass requested after Plugin Theme handoff review. */
body.photo-award-global-template-prestige-gold,
body.photo-award-profile-page.photo-award-global-template-prestige-gold {
    --pa-theme-display: "Archivo Black", Inter, system-ui, sans-serif;
    --pa-theme-body: "Space Grotesk", system-ui, sans-serif;
    --pa-theme-mono: "Space Mono", ui-monospace, monospace;
    --pa-theme-radius: 0;
}

body.photo-award-global-template-gallery-curator,
body.photo-award-profile-page.photo-award-global-template-gallery-curator {
    --pa-theme-display: "Outfit", "Inter Tight", system-ui, sans-serif;
    --pa-theme-body: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    --pa-theme-mono: "JetBrains Mono", ui-monospace, monospace;
    --pa-theme-radius: 0;
    --pa-theme-shadow: 0 30px 60px rgba(0, 0, 0, .08);
}

body.photo-award-global-template-midnight-cinema,
body.photo-award-profile-page.photo-award-global-template-midnight-cinema {
    --pa-theme-display: "Big Shoulders Display", Anton, "Inter Tight", system-ui, sans-serif;
    --pa-theme-body: Inter, system-ui, sans-serif;
    --pa-theme-mono: "JetBrains Mono", ui-monospace, monospace;
    --pa-theme-page-bg: #000000;
    --pa-theme-surface: #0a0a0a;
    --pa-theme-surface-2: #141414;
    --pa-theme-ink: #fafafa;
    --pa-theme-muted: #b8b8b8;
    --pa-theme-line: #2a2a2a;
    --pa-theme-accent: #d4ff00;
    --pa-theme-on-accent: #000000;
    --pa-theme-radius: 0;
}

body.photo-award-global-template-signal-ops,
body.photo-award-profile-page.photo-award-global-template-signal-ops {
    --pa-theme-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
    --pa-theme-body: "Source Serif 4", "Source Serif Pro", Georgia, serif;
    --pa-theme-mono: "DM Mono", ui-monospace, monospace;
    --pa-theme-radius: 0;
}

body.photo-award-global-template-gala-prism,
body.photo-award-profile-page.photo-award-global-template-gala-prism {
    --pa-theme-display: "Fraunces", "Recoleta", Georgia, serif;
    --pa-theme-body: Lora, "Source Serif 4", Georgia, serif;
    --pa-theme-mono: "JetBrains Mono", ui-monospace, monospace;
    --pa-theme-page-bg: #ffffff;
    --pa-theme-surface: #ffffff;
    --pa-theme-surface-2: #f5efe8;
    --pa-theme-ink: #1a1410;
    --pa-theme-muted: #8a7868;
    --pa-theme-line: #ebe3da;
    --pa-theme-accent: #c1622e;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-radius: 0;
}

body.photo-award-profile-page .photo-award-profile-container {
    width: 75vw !important;
    max-width: 75vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell,
body.photo-award-profile-page .photo-award-profile-container .event-registration-container {
    width: 100% !important;
    max-width: 100% !important;
}

body.photo-award-global-template-gallery-curator .profile-nav a,
body.photo-award-global-template-gallery-curator .btn,
body.photo-award-global-template-gallery-curator .button,
body.photo-award-global-template-gallery-curator .btn-primary,
body.photo-award-global-template-gallery-curator .btn-secondary,
body.photo-award-global-template-gallery-curator #event-registration-form button,
body.photo-award-global-template-gallery-curator input[type="submit"] {
    border-radius: 999px !important;
}

body.photo-award-global-template-gallery-curator .profile-sidebar,
body.photo-award-global-template-gallery-curator .profile-content,
body.photo-award-global-template-gallery-curator .dashboard-hero,
body.photo-award-global-template-gallery-curator .dashboard-panel,
body.photo-award-global-template-gallery-curator .stat-card,
body.photo-award-global-template-gallery-curator .entry-row,
body.photo-award-global-template-gallery-curator .event-card-wide,
body.photo-award-global-template-gallery-curator .embedded-entry-form-shell,
body.photo-award-global-template-gallery-curator .photo-award-daily-card {
    border-radius: 0 !important;
}

body.photo-award-global-template-midnight-cinema .profile-sidebar,
body.photo-award-global-template-midnight-cinema .profile-content,
body.photo-award-global-template-midnight-cinema .dashboard-hero,
body.photo-award-global-template-midnight-cinema .dashboard-panel,
body.photo-award-global-template-midnight-cinema .stat-card,
body.photo-award-global-template-midnight-cinema .entry-row,
body.photo-award-global-template-midnight-cinema .event-card-wide,
body.photo-award-global-template-midnight-cinema .embedded-entry-form-shell,
body.photo-award-global-template-midnight-cinema .event-registration-container #event-registration-form {
    background: #0a0a0a !important;
    border-color: #2a2a2a !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema input,
body.photo-award-global-template-midnight-cinema select,
body.photo-award-global-template-midnight-cinema textarea {
    background: #141414 !important;
    border-color: #2a2a2a !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema .profile-nav li.active a,
body.photo-award-global-template-midnight-cinema .profile-nav a:hover,
body.photo-award-global-template-midnight-cinema .btn-primary,
body.photo-award-global-template-midnight-cinema #event-registration-form button[type="submit"],
body.photo-award-global-template-midnight-cinema input[type="submit"] {
    background: #d4ff00 !important;
    border-color: #d4ff00 !important;
    color: #000 !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .photo-award-profile-container,
body.photo-award-global-template-prestige-gold .photo-award-profile-container.photo-award-judging-scope {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .profile-sidebar,
body.photo-award-global-template-prestige-gold .photo-award-judging-scope .profile-sidebar {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .profile-nav ul,
body.photo-award-global-template-prestige-gold .photo-award-judging-scope .profile-nav ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)) !important;
}

body[class*="photo-award-global-template-"] .event-registration-container .ui.radio.checkbox,
body[class*="photo-award-global-template-"] .event-registration-container .ui.checkbox,
body[class*="photo-award-global-template-"] .photo-award-profile-container .embedded-entry-form-shell .ui.radio.checkbox,
body[class*="photo-award-global-template-"] .photo-award-profile-container .embedded-entry-form-shell .ui.checkbox,
body[class*="photo-award-global-template-"] .topic-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    margin: 0 0 10px !important;
    background: var(--pa-theme-surface-2) !important;
    border: 1px solid var(--pa-theme-line) !important;
    border-radius: var(--pa-theme-radius) !important;
    color: var(--pa-theme-ink) !important;
}

body.photo-award-global-template-gallery-curator .event-registration-container .ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .ui.checkbox,
body.photo-award-global-template-gallery-curator .topic-checkbox {
    border-radius: 999px !important;
}

body[class*="photo-award-global-template-"] .event-registration-container .ui.radio.checkbox label,
body[class*="photo-award-global-template-"] .event-registration-container .ui.checkbox label,
body[class*="photo-award-global-template-"] .photo-award-profile-container .embedded-entry-form-shell .ui.radio.checkbox label,
body[class*="photo-award-global-template-"] .photo-award-profile-container .embedded-entry-form-shell .ui.checkbox label,
body[class*="photo-award-global-template-"] .topic-checkbox label {
    margin: 0 !important;
    color: var(--pa-theme-ink) !important;
    font-family: var(--pa-theme-body) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

body[class*="photo-award-global-template-"] .event-registration-container input[type="radio"],
body[class*="photo-award-global-template-"] .event-registration-container input[type="checkbox"],
body[class*="photo-award-global-template-"] .embedded-entry-form-shell input[type="radio"],
body[class*="photo-award-global-template-"] .embedded-entry-form-shell input[type="checkbox"] {
    accent-color: var(--pa-theme-accent) !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 auto !important;
}

body.photo-award-global-template-gala-prism .profile-content,
body.photo-award-global-template-gala-prism .dashboard-panel,
body.photo-award-global-template-gala-prism .stat-card,
body.photo-award-global-template-gala-prism .entry-row,
body.photo-award-global-template-gala-prism .event-card-wide,
body.photo-award-global-template-gala-prism .photo-award-daily-card {
    border-radius: 14px !important;
}

@media (max-width: 1180px) {
    body.photo-award-profile-page .photo-award-profile-container {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }
}

/* Absolute last lock for corrected handoff typography and shape. */
body[class*="photo-award-global-template-"] .photo-award-profile-container,
body[class*="photo-award-global-template-"] .profile-sidebar,
body[class*="photo-award-global-template-"] .profile-content,
body[class*="photo-award-global-template-"] .dashboard-template,
body[class*="photo-award-global-template-"] .entry-template,
body[class*="photo-award-global-template-"] .event-registration-container,
body[class*="photo-award-global-template-"] .embedded-entry-form-shell {
    font-family: var(--pa-theme-body) !important;
}

body[class*="photo-award-global-template-"] .photo-award-profile-container,
body[class*="photo-award-global-template-"] .profile-sidebar,
body[class*="photo-award-global-template-"] .profile-content,
body[class*="photo-award-global-template-"] .dashboard-hero,
body[class*="photo-award-global-template-"] .dashboard-panel,
body[class*="photo-award-global-template-"] .stat-card,
body[class*="photo-award-global-template-"] .entry-row,
body[class*="photo-award-global-template-"] .event-card-wide {
    border-radius: var(--pa-theme-radius) !important;
}

body.photo-award-global-template-gallery-curator .photo-award-profile-container,
body.photo-award-global-template-gallery-curator .profile-sidebar,
body.photo-award-global-template-gallery-curator .profile-content,
body.photo-award-global-template-gallery-curator .dashboard-hero,
body.photo-award-global-template-gallery-curator .dashboard-panel,
body.photo-award-global-template-gallery-curator .stat-card,
body.photo-award-global-template-gallery-curator .entry-row,
body.photo-award-global-template-gallery-curator .event-card-wide,
body.photo-award-global-template-gallery-curator .embedded-entry-form-shell,
body.photo-award-global-template-gallery-curator .event-registration-container,
body.photo-award-global-template-gallery-curator .photo-award-daily-card {
    border-radius: 0 !important;
}

body.photo-award-global-template-gallery-curator .profile-nav a,
body.photo-award-global-template-gallery-curator .btn,
body.photo-award-global-template-gallery-curator .button,
body.photo-award-global-template-gallery-curator .btn-primary,
body.photo-award-global-template-gallery-curator .btn-secondary,
body.photo-award-global-template-gallery-curator #event-registration-form button,
body.photo-award-global-template-gallery-curator input[type="submit"],
body.photo-award-global-template-gallery-curator .event-registration-container .ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .ui.checkbox,
body.photo-award-global-template-gallery-curator .topic-checkbox {
    border-radius: 999px !important;
}

body.photo-award-global-template-midnight-cinema .photo-award-profile-container,
body.photo-award-global-template-midnight-cinema .profile-sidebar,
body.photo-award-global-template-midnight-cinema .profile-content,
body.photo-award-global-template-midnight-cinema .dashboard-template,
body.photo-award-global-template-midnight-cinema .entry-template,
body.photo-award-global-template-midnight-cinema .event-registration-container,
body.photo-award-global-template-midnight-cinema .embedded-entry-form-shell {
    font-family: Inter, system-ui, sans-serif !important;
}

body.photo-award-global-template-midnight-cinema .dashboard-hero h1,
body.photo-award-global-template-midnight-cinema .entry-page-header h1,
body.photo-award-global-template-midnight-cinema .profile-content h1,
body.photo-award-global-template-midnight-cinema .profile-content h2,
body.photo-award-global-template-midnight-cinema .stat-number {
    font-family: "Big Shoulders Display", Anton, "Inter Tight", system-ui, sans-serif !important;
}

@media (max-width: 782px) {
    body[class*="photo-award-global-template-"] .photo-award-profile-container,
    body[class*="photo-award-global-template-"] .profile-content,
    body[class*="photo-award-global-template-"] .profile-sidebar,
    body[class*="photo-award-global-template-"] .dashboard-hero,
    body[class*="photo-award-global-template-"] .dashboard-panel,
    body[class*="photo-award-global-template-"] .stat-card,
    body[class*="photo-award-global-template-"] .entry-row {
        box-shadow: none !important;
    }
}

body.photo-award-invoice-checkout-page {
    background: #050607 !important;
}

.photo-award-checkout-page {
    min-height: 70vh !important;
    padding: calc(var(--photo-award-checkout-header-space, 32px) + 100px) 16px 72px !important;
    background: #050607 !important;
    color: #f7f8fb !important;
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
}

.photo-award-checkout-shell {
    width: min(1180px, calc(100vw - 32px)) !important;
    margin: 0 auto !important;
}

.photo-award-checkout-card {
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    background: #101318 !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42) !important;
}

.photo-award-checkout-heading {
    padding: clamp(22px, 3vw, 36px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: #111820 !important;
}

.photo-award-checkout-heading span {
    display: block !important;
    margin-bottom: 10px !important;
    color: #ff3a48 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

.photo-award-checkout-heading h1 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(28px, 4vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

.photo-award-checkout-content {
    padding: clamp(22px, 3vw, 36px) !important;
    color: #f7f8fb !important;
    background: #101318 !important;
}

.photo-award-checkout-content,
.photo-award-checkout-content :is(.wpinv, .wpinv-checkout, .getpaid, .getpaid-checkout, form, fieldset, section, article, div, p, span, label, legend, strong, b, small, th, td, li, dt, dd) {
    color: #f7f8fb !important;
}

.photo-award-checkout-content :is(.wpinv, .wpinv-checkout, .getpaid, .getpaid-checkout, form) {
    max-width: 100% !important;
    background: #101318 !important;
}

.photo-award-checkout-content :is(input, select, textarea) {
    max-width: 75% !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 7px !important;
    background: #0b0f15 !important;
    color: #ffffff !important;
    caret-color: #ffffff !important;
}

.photo-award-checkout-content :is(input, select, textarea)::placeholder {
    color: rgba(255, 255, 255, 0.56) !important;
}

.photo-award-checkout-content :is(input[type="checkbox"], input[type="radio"]) {
    width: auto !important;
    max-width: none !important;
}

.photo-award-checkout-content :is(.wpinv-table, table, .card, .panel, .gateway, .payment_box, .form-row, .getpaid-card, .wpinv_checkout_cart, .wpinv-payment-form),
.photo-award-checkout-content :is(.wpinv-table, table, .card, .panel, .gateway, .payment_box, .form-row, .getpaid-card, .wpinv_checkout_cart, .wpinv-payment-form) * {
    color: #f7f8fb !important;
}

.photo-award-checkout-content :is(table, .card, .panel, .payment_box, .getpaid-card, .wpinv_checkout_cart, .wpinv-payment-form) {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: #151a22 !important;
}

.photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart table, .getpaid-checkout table) {
    overflow: hidden !important;
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 1px solid #2a313c !important;
    background: #101318 !important;
    color: #f7f8fb !important;
}

.photo-award-checkout-content :is(table, thead, tbody, tfoot, tr, th, td) {
    border-color: #2a313c !important;
    background-color: #151a22 !important;
    color: #f7f8fb !important;
}

.photo-award-checkout-content :is(table th, table td, .wpinv-table th, .wpinv-table td, .wpinv_checkout_cart th, .wpinv_checkout_cart td) {
    padding: 14px 16px !important;
    border: 1px solid #2a313c !important;
    background: #151a22 !important;
    color: #f7f8fb !important;
}

.photo-award-checkout-content :is(table thead th, .wpinv-table thead th, .wpinv_checkout_cart thead th) {
    background: #111820 !important;
    color: #ffffff !important;
}

.photo-award-checkout-content :is(table td:empty, table th:empty, .wpinv-table td:empty, .wpinv-table th:empty, .wpinv_checkout_cart td:empty, .wpinv_checkout_cart th:empty) {
    background: #101318 !important;
}

.photo-award-checkout-content :is(.wpinv-payment-gateway, .wpinv-payment-gateways, .gateway, .payment_box, .payment-method, .payment-methods, .form-row, .wpinv_cart_item, .wpinv-cart-item) {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: #151a22 !important;
}

.photo-award-checkout-content :is(.getpaid-payment-form-items-cart, .getpaid-payment-form-items-cart *, .getpaid-payment-form-items-cart-totals, .getpaid-payment-form-items-cart-totals *, .getpaid-form-cart-totals-col, .getpaid-form-cart-totals-col.bg-light, .getpaid-form-cart-totals-subtotal, .getpaid-form-cart-totals-total, .getpaid-payment-form-line-totals-label, .getpaid-payment-form-line-totals-value, .getpaid-form-cart-item, [class*="getpaid-form-cart-item-"], .bg-light) {
    border-color: transparent !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    background: #151a22 !important;
    background-color: #151a22 !important;
    color: #f7f8fb !important;
}

.photo-award-checkout-content :is(.wpinv-payment-gateways, .wpinv-payment-methods, .getpaid-payment-methods, .payment-methods, .payment-method, .payment-method-list, .payment-gateways, .gateway-list, .checkout-payment, .checkout-payment-methods, ul.payment_methods, ul.wpinv-payment-gateways, ul.getpaid-payment-methods, nav, menu),
.photo-award-checkout-content :is(.wpinv-payment-gateways, .wpinv-payment-methods, .getpaid-payment-methods, .payment-methods, .payment-method, .payment-method-list, .payment-gateways, .gateway-list, .checkout-payment, .checkout-payment-methods, ul.payment_methods, ul.wpinv-payment-gateways, ul.getpaid-payment-methods, nav, menu) :is(ul, ol, li, label, div, span, p) {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: #151a22 !important;
    color: #f7f8fb !important;
}

.photo-award-checkout-content :is(.wpinv-payment-gateways, .wpinv-payment-methods, .getpaid-payment-methods, .payment-methods, .payment-method-list, .payment-gateways, .gateway-list, ul.payment_methods, ul.wpinv-payment-gateways, ul.getpaid-payment-methods) :is(li, label) {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 48px !important;
    margin: 0 0 10px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 7px !important;
}

.photo-award-checkout-content :is(.wpinv-payment-gateways, .wpinv-payment-methods, .getpaid-payment-methods, .payment-methods, .payment-method-list, .payment-gateways, .gateway-list, ul.payment_methods, ul.wpinv-payment-gateways, ul.getpaid-payment-methods) :is(li:hover, label:hover, li:focus-within) {
    border-color: rgba(242, 13, 31, 0.72) !important;
    background: #1a202a !important;
}

.photo-award-checkout-content :is(.wpinv-payment-gateways, .wpinv-payment-methods, .getpaid-payment-methods, .payment-methods, .payment-method-list, .payment-gateways, .gateway-list, ul.payment_methods, ul.wpinv-payment-gateways, ul.getpaid-payment-methods) :is(li.selected, li.active, li.is-active, label.selected, label.active) {
    border-color: #f20d1f !important;
    background: #1d2029 !important;
}

.photo-award-checkout-content :is(a) {
    color: #ff5a66 !important;
}

.photo-award-checkout-content :is(button, .button, input[type="submit"], a.button) {
    border: 0 !important;
    border-radius: 7px !important;
    background: #f20d1f !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.photo-award-checkout-notice {
    padding: 16px 18px !important;
    border-radius: 7px !important;
    font-weight: 700 !important;
}

.photo-award-checkout-notice.error {
    border: 1px solid #f6b8bd !important;
    background: #ffe7e9 !important;
    color: #7f1019 !important;
}

@media (max-width: 782px) {
    .photo-award-checkout-page {
        padding: calc(var(--photo-award-checkout-header-space, 20px) + 100px) 12px 48px !important;
    }

    .photo-award-checkout-shell {
        width: 100% !important;
    }

    .photo-award-checkout-content :is(input, select, textarea) {
        max-width: 100% !important;
    }
}

/* ===== MEMBER DASHBOARD TEMPLATE SYSTEM ===== */
.photo-award-profile-container,
.photo-award-profile-container * {
    box-sizing: border-box;
}

.photo-award-profile-container {
    align-items: flex-start;
}

.dashboard-template {
    --pa-dashboard-surface: #ffffff;
    --pa-dashboard-surface-soft: #f6f7f9;
    --pa-dashboard-text: #151922;
    --pa-dashboard-muted: #697386;
    --pa-dashboard-accent: #d99a2b;
    --pa-dashboard-line: #dfe4ea;
    color: var(--pa-dashboard-text);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 22px;
    padding: 28px;
    background: var(--pa-dashboard-surface);
    border: 1px solid var(--pa-dashboard-line);
    border-radius: 8px;
}

.dashboard-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--pa-dashboard-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-hero h1 {
    margin: 0;
    color: inherit;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 30px;
    line-height: 1.18;
}

.dashboard-hero p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--pa-dashboard-muted);
    font-size: 15px;
}

.dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.dashboard-stats-pro {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 0;
}

.dashboard-stats-pro .stat-card {
    min-height: 142px;
    padding: 20px;
    text-align: left;
    background: var(--pa-dashboard-surface);
    border: 1px solid var(--pa-dashboard-line);
    border-radius: 8px;
}

.dashboard-stats-pro .stat-card span,
.dashboard-stats-pro .stat-card small {
    display: block;
    color: var(--pa-dashboard-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-stats-pro .stat-number {
    display: block;
    margin: 16px 0 8px;
    color: var(--pa-dashboard-accent);
    font-size: 36px;
    line-height: 1;
}

.dashboard-panel {
    margin-top: 18px;
    padding: 22px;
    background: var(--pa-dashboard-surface);
    border: 1px solid var(--pa-dashboard-line);
    border-radius: 8px;
}

.dashboard-panel-label {
    display: block;
    margin-bottom: 8px;
    color: var(--pa-dashboard-accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-panel h2 {
    margin: 0 0 14px;
    color: inherit;
    font-size: 20px;
}

.wallet-balance-amount {
    margin: 0;
    color: var(--pa-dashboard-text);
    font-size: 30px;
    font-weight: 800;
}

.wallet-transactions-table-wrap {
    overflow-x: auto;
}

.wallet-transactions-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.wallet-transactions-table th,
.wallet-transactions-table td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--pa-dashboard-line);
    text-align: left;
}

.wallet-transactions-table th {
    color: var(--pa-dashboard-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.wallet-amount,
.wallet-balance-after {
    text-align: right;
    font-weight: 800;
}

.wallet-amount-credit {
    color: #15803d;
}

.wallet-amount-debit {
    color: #be123c;
}

.dashboard-empty-state {
    margin: 0;
    padding: 18px;
    color: var(--pa-dashboard-muted);
    background: var(--pa-dashboard-surface-soft);
    border: 1px dashed var(--pa-dashboard-line);
    border-radius: 8px;
}

.photo-award-profile-view-dashboard.photo-award-dashboard-template-cinematic .profile-content {
    background: #101418;
    border: 1px solid #222a34;
    color: #edf2f7;
}

.dashboard-template-cinematic {
    --pa-dashboard-surface: #151a21;
    --pa-dashboard-surface-soft: #0d1117;
    --pa-dashboard-text: #f8fafc;
    --pa-dashboard-muted: #aeb9c7;
    --pa-dashboard-accent: #e0b057;
    --pa-dashboard-line: #2b3440;
}

.dashboard-template-cinematic .dashboard-hero {
    background: #151a21;
    border-left: 4px solid #e0b057;
}

.dashboard-template-cinematic .stat-card {
    background: #111820;
}

.dashboard-template-studio {
    --pa-dashboard-surface: #ffffff;
    --pa-dashboard-surface-soft: #f3f6f8;
    --pa-dashboard-text: #17202a;
    --pa-dashboard-muted: #64748b;
    --pa-dashboard-accent: #0f766e;
    --pa-dashboard-line: #d9e2ea;
}

.dashboard-template-studio .dashboard-hero,
.dashboard-template-studio .stat-card,
.dashboard-template-studio .dashboard-panel {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.dashboard-template-curator {
    --pa-dashboard-surface: #fbfbf7;
    --pa-dashboard-surface-soft: #eef7f1;
    --pa-dashboard-text: #18221d;
    --pa-dashboard-muted: #637067;
    --pa-dashboard-accent: #317a55;
    --pa-dashboard-line: #d8dfd6;
}

.dashboard-template-curator .dashboard-hero {
    border-left: 6px solid #317a55;
}

.dashboard-template-curator .stat-card {
    background: #ffffff;
}

.dashboard-template-signal {
    --pa-dashboard-surface: #f7f8fb;
    --pa-dashboard-surface-soft: #ffffff;
    --pa-dashboard-text: #111827;
    --pa-dashboard-muted: #4b5563;
    --pa-dashboard-accent: #c2410c;
    --pa-dashboard-line: #1f2937;
}

.dashboard-template-signal .dashboard-hero,
.dashboard-template-signal .stat-card,
.dashboard-template-signal .dashboard-panel {
    border-width: 2px;
}

.dashboard-template-signal .stat-card {
    background: #ffffff;
}

.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .profile-content {
    background: #f8fbff;
    border: 1px solid #c8e7f4;
}

.dashboard-template-aurora {
    --pa-dashboard-surface: #ffffff;
    --pa-dashboard-surface-soft: #eff9fb;
    --pa-dashboard-text: #152033;
    --pa-dashboard-muted: #5d6f82;
    --pa-dashboard-accent: #0891b2;
    --pa-dashboard-line: #c8e7f4;
}

.dashboard-template-aurora .dashboard-hero {
    border: 0;
    color: #102033;
    background: linear-gradient(135deg, #e7fbff 0%, #fff7ed 48%, #f3e8ff 100%);
    box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.22);
}

.dashboard-template-aurora .dashboard-hero h1 {
    color: #102033;
}

.dashboard-template-aurora .dashboard-hero p {
    color: #415268;
}

.dashboard-template-aurora .dashboard-stats-pro {
    gap: 16px;
}

.dashboard-template-aurora .stat-card {
    border: 0;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 39, 64, 0.08);
}

.dashboard-template-aurora .stat-card-entries {
    border-top: 5px solid #06b6d4;
}

.dashboard-template-aurora .stat-card-events {
    border-top: 5px solid #f97316;
}

.dashboard-template-aurora .stat-card-profile {
    border-top: 5px solid #8b5cf6;
}

.dashboard-template-aurora .dashboard-panel {
    border: 0;
    box-shadow: 0 12px 28px rgba(15, 39, 64, 0.07);
}

.dashboard-template-aurora .btn-primary {
    background: #0891b2;
    color: #ffffff;
}

.dashboard-template-aurora .btn-secondary {
    background: #ffffff;
    border-color: #67e8f9;
    color: #164e63;
}

.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .profile-content {
    background: #08080a;
    border: 1px solid #26221a;
    color: #f7f2e7;
}

.dashboard-template-noir {
    --pa-dashboard-surface: #101012;
    --pa-dashboard-surface-soft: #181818;
    --pa-dashboard-text: #f7f2e7;
    --pa-dashboard-muted: #c9bd9b;
    --pa-dashboard-accent: #c79a2b;
    --pa-dashboard-line: #3b321f;
}

.dashboard-template-noir .dashboard-hero,
.dashboard-template-noir .dashboard-panel,
.dashboard-template-noir .stat-card {
    border-radius: 0;
}

.dashboard-template-noir .dashboard-hero {
    background: #101012;
    border: 1px solid #3b321f;
    border-top: 6px solid #c79a2b;
}

.dashboard-template-noir .stat-card {
    background: #0d0d0f;
    border: 1px solid #3b321f;
    border-left: 5px solid #c79a2b;
}

.dashboard-template-noir .dashboard-panel {
    background: #111113;
    border: 1px solid #3b321f;
}

.dashboard-template-noir .wallet-transactions-table th,
.dashboard-template-noir .wallet-transactions-table td {
    border-bottom-color: #3b321f;
}

.dashboard-template-noir .btn-primary {
    background: #c79a2b;
    color: #08080a;
}

.dashboard-template-noir .btn-secondary {
    background: transparent;
    border-color: #c79a2b;
    color: #f7f2e7;
}

.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .profile-content {
    background: #ffffff;
    border: 1px solid #dbe4ff;
}

.dashboard-template-prism {
    --pa-dashboard-surface: #ffffff;
    --pa-dashboard-surface-soft: #f6f8ff;
    --pa-dashboard-text: #15142b;
    --pa-dashboard-muted: #5c6074;
    --pa-dashboard-accent: #2563eb;
    --pa-dashboard-line: #dbe4ff;
}

.dashboard-template-prism .dashboard-hero {
    background: linear-gradient(90deg, #eff6ff 0%, #eff6ff 52%, #ffffff 52%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    border-bottom: 5px solid #f97316;
}

.dashboard-template-prism .stat-card {
    border: 0;
    color: #111827;
}

.dashboard-template-prism .stat-card-entries {
    background: #dbeafe;
}

.dashboard-template-prism .stat-card-events {
    background: #fef3c7;
}

.dashboard-template-prism .stat-card-profile {
    background: #dcfce7;
}

.dashboard-template-prism .stat-number {
    color: #111827;
}

.dashboard-template-prism .dashboard-panel {
    border-color: #c7d2fe;
    border-left: 7px solid #2563eb;
}

.dashboard-template-prism .btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.dashboard-template-prism .btn-secondary {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .profile-content {
    background: #101827;
    border: 1px solid #2e3a56;
    color: #fffaf0;
}

.dashboard-template-royal {
    --pa-dashboard-surface: #fffaf0;
    --pa-dashboard-surface-soft: #f1ead8;
    --pa-dashboard-text: #141b2d;
    --pa-dashboard-muted: #6b6254;
    --pa-dashboard-accent: #b8872e;
    --pa-dashboard-line: #d8c394;
}

.dashboard-template-royal .dashboard-hero {
    color: #fffaf0;
    background: #141b2d;
    border: 1px solid #b8872e;
}

.dashboard-template-royal .dashboard-hero h1 {
    color: #fffaf0;
}

.dashboard-template-royal .dashboard-hero p {
    color: #d8cfbd;
}

.dashboard-template-royal .stat-card {
    background: #fffaf0;
    border-color: #d8c394;
    box-shadow: 0 10px 22px rgba(7, 11, 19, 0.18);
}

.dashboard-template-royal .stat-card span,
.dashboard-template-royal .stat-card small {
    color: #6b6254;
}

.dashboard-template-royal .dashboard-panel {
    background: #fffaf0;
    border-color: #d8c394;
}

.dashboard-template-royal .btn-primary {
    background: #b8872e;
    color: #101827;
}

.dashboard-template-royal .btn-secondary {
    background: transparent;
    border-color: #d8c394;
    color: #fffaf0;
}

/* ===== DISTINCT SUBMISSION TEMPLATE SYSTEM ===== */
.entry-template {
    --pa-entry-surface: #ffffff;
    --pa-entry-surface-soft: #f8fafc;
    --pa-entry-text: #111827;
    --pa-entry-muted: #64748b;
    --pa-entry-accent: #fb7185;
    --pa-entry-line: #dfe5ec;
    color: var(--pa-entry-text);
}

.entry-page-header {
    margin-bottom: 20px;
    padding: 24px;
    background: var(--pa-entry-surface);
    border: 1px solid var(--pa-entry-line);
    border-radius: 8px;
}

.entry-page-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--pa-entry-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.entry-page-header h1 {
    margin: 0;
    padding: 0;
    border-bottom: none;
    color: var(--pa-entry-text);
}

.entry-page-header p {
    margin: 10px 0 0;
    color: var(--pa-entry-muted);
}

.entry-template .events-summary,
.entry-template .entries-summary {
    padding: 14px 16px;
    background: var(--pa-entry-surface-soft);
    border: 1px solid var(--pa-entry-line);
    border-left: 4px solid var(--pa-entry-accent);
    border-radius: 8px;
}

.entry-template .events-grid {
    display: grid;
    gap: 14px;
}

.entry-template .event-card-wide,
.entry-template .entry-row,
.entry-template .no-entries,
.entry-template .no-events {
    background: var(--pa-entry-surface);
    border: 1px solid var(--pa-entry-line);
    border-radius: 8px;
}

.entry-template .event-card-wide {
    padding: 18px;
}

.entry-template .entry-row {
    overflow: hidden;
}

.entry-template .entry-row-title h3,
.entry-template .event-title,
.entry-template .event-title a {
    color: var(--pa-entry-text);
}

.entry-template .entry-detail-item,
.entry-template .event-meta,
.entry-template .countdown-display {
    color: var(--pa-entry-muted);
}

.entry-template .btn-primary,
.entry-template .pay-button {
    background: var(--pa-entry-accent);
    color: #ffffff;
}

.entry-template-editorial {
    --pa-entry-surface: #ffffff;
    --pa-entry-surface-soft: #fff5f5;
    --pa-entry-text: #151515;
    --pa-entry-muted: #62656b;
    --pa-entry-accent: #e14f62;
    --pa-entry-line: #e7dfe2;
}

.entry-template-editorial .event-card-wide,
.entry-template-editorial .entry-row {
    border-left: 5px solid #e14f62;
}

.entry-template-editorial .entry-row-image img {
    filter: saturate(0.9) contrast(1.08);
}

.entry-template-archive {
    --pa-entry-surface: #f9fbfc;
    --pa-entry-surface-soft: #e9f7f5;
    --pa-entry-text: #102027;
    --pa-entry-muted: #52646d;
    --pa-entry-accent: #0f766e;
    --pa-entry-line: #b8ccd2;
}

.entry-template-archive .events-grid,
.entry-template-archive .entries-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}

.entry-template-archive .entry-row {
    flex-direction: column;
    min-height: 100%;
}

.entry-template-archive .entry-row-image {
    width: 100%;
    height: 170px;
    margin: 0 0 14px;
}

.entry-template-archive .entry-row-actions {
    margin-top: 14px;
}

.entry-template-proofing {
    --pa-entry-surface: #ffffff;
    --pa-entry-surface-soft: #eef9fd;
    --pa-entry-text: #142033;
    --pa-entry-muted: #5f7084;
    --pa-entry-accent: #0891b2;
    --pa-entry-line: #c8e7f4;
}

.entry-template-proofing .profile-page,
.entry-template-proofing .entry-row,
.entry-template-proofing .event-card-wide,
.entry-template-proofing .entry-page-header {
    background: #ffffff;
    color: #142033;
}

.entry-template-proofing .profile-page {
    padding: 28px;
    border: 1px solid #c8e7f4;
    border-radius: 8px;
}

.entry-template-proofing .profile-page h1 {
    color: #142033;
    border-bottom-color: #d9eef6;
}

.entry-template-proofing .profile-page p {
    color: #5f7084;
}

.entry-template-proofing .no-entries,
.entry-template-proofing .no-events {
    background: #ffffff;
    border: 1px solid #d9eef6;
    color: #142033;
    box-shadow: 0 12px 28px rgba(15, 39, 64, 0.06);
}

.entry-template-proofing .entry-row {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr) auto;
    gap: 18px;
}

.entry-template-proofing .entry-row-image {
    width: 138px;
    height: 138px;
    margin-right: 0;
}

.entry-template-proofing .entry-type-badge,
.entry-template-proofing .type-badge {
    background: #e0f7ff;
    color: #075f73;
}

.entry-template-proofing .no-events h3,
.entry-template-proofing .no-events p,
.entry-template-proofing .no-entries p,
.entry-template-proofing .no-events-icon {
    color: #142033;
}

.entry-template-proofing .no-entries .btn,
.entry-template-proofing .no-events .btn {
    background: #0891b2;
    color: #ffffff;
}

.entry-template-timeline {
    --pa-entry-surface: #ffffff;
    --pa-entry-surface-soft: #f4f0ff;
    --pa-entry-text: #201933;
    --pa-entry-muted: #665f78;
    --pa-entry-accent: #7c3aed;
    --pa-entry-line: #ded6ee;
}

.entry-template-timeline .events-grid,
.entry-template-timeline .entries-list-container {
    position: relative;
    padding-left: 22px;
    border-left: 3px solid #7c3aed;
}

.entry-template-timeline .event-card-wide,
.entry-template-timeline .entry-row {
    position: relative;
}

.entry-template-timeline .event-card-wide::before,
.entry-template-timeline .entry-row::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 3px solid #7c3aed;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .dashboard-hero,
    .dashboard-stats-pro {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-actions {
        justify-content: flex-start;
    }

    .entry-template-proofing .entry-row {
        grid-template-columns: 1fr;
    }

    .entry-template-proofing .entry-row-image {
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 560px) {
    .dashboard-hero,
    .dashboard-panel,
    .entry-page-header {
        padding: 18px;
    }

    .dashboard-hero h1 {
        font-size: 24px;
    }

    .dashboard-stats-pro .stat-card {
        min-height: 120px;
    }

    .entry-template-archive .events-grid,
    .entry-template-archive .entries-list-container {
        grid-template-columns: 1fr;
    }
}

/* ===== UNIFIED MEMBER AREA FORM ===== */
.photo-award-profile-container {
    flex-direction: column;
    gap: 16px;
    max-width: 1150px;
    padding: 20px 0;
}

.photo-award-profile-container .profile-sidebar {
    position: static;
    top: auto;
    width: 100%;
    padding: 0;
    background: transparent;
}

.photo-award-profile-container .profile-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #d6e9f3;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.photo-award-profile-container .profile-user-info h3,
.photo-award-profile-container .profile-user-info p {
    margin: 0;
}

.photo-award-profile-container .profile-nav {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #d6e9f3;
    border-radius: 0 0 8px 8px;
}

.photo-award-profile-container .profile-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.photo-award-profile-container .profile-nav li {
    margin: 0;
}

.photo-award-profile-container .profile-nav a {
    min-height: 40px;
    padding: 10px 13px;
    background: #f8fbff;
    border: 1px solid #d6e9f3;
    border-radius: 6px;
    color: #31475f;
}

.photo-award-profile-container .profile-nav a:hover {
    background: #eef9fd;
    border-color: #8bd6ea;
    color: #087f9b;
}

.photo-award-profile-container .profile-nav li.active a {
    background: #0891b2;
    border-color: #0891b2;
    color: #ffffff;
}

.photo-award-profile-container .profile-content {
    width: 100%;
    flex: none;
}

.photo-award-profile-view-dashboard .profile-content {
    padding: 30px 38px;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-entries-scope .profile-content,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .profile-content,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-new-entry .profile-content,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-entry-success .profile-content {
    padding: 30px 38px !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-entries-scope .embedded-entry-form-shell,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .embedded-entry-form-shell,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-new-entry .embedded-entry-form-shell,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-entry-success .embedded-entry-form-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-entries-scope .embedded-entry-form-shell .event-registration-container,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .embedded-entry-form-shell .event-registration-container,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-new-entry .embedded-entry-form-shell .event-registration-container,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-entry-success .embedded-entry-form-shell .event-registration-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.photo-award-profile-view-dashboard .dashboard-template {
    width: 100%;
}

.photo-award-profile-view-dashboard .dashboard-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 216px;
    align-items: center;
    padding: 34px;
}

.photo-award-profile-view-dashboard .dashboard-hero-actions {
    justify-content: flex-end;
}

.photo-award-profile-view-dashboard .dashboard-hero h1 {
    font-size: 36px;
}

.photo-award-profile-view-dashboard .dashboard-hero p {
    max-width: 620px;
    font-size: 17px;
}

.photo-award-profile-view-dashboard .dashboard-hero-actions .btn {
    min-width: 150px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    text-align: center;
}

.photo-award-profile-view-dashboard .dashboard-stats-pro {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card {
    min-height: 178px;
    padding: 28px 24px;
}

.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-number {
    margin: 24px 0 12px;
    font-size: 44px;
}

.photo-award-profile-view-dashboard .dashboard-panel {
    margin-top: 22px;
    padding: 28px;
}

.photo-award-profile-view-dashboard .wallet-balance-section {
    min-height: 194px;
}

.photo-award-profile-view-dashboard .wallet-transactions-section {
    min-height: 210px;
}

.photo-award-profile-view-dashboard .dashboard-empty-state {
    min-height: 76px;
    display: flex;
    align-items: center;
    margin-top: 18px;
}

.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .profile-content {
    background: #f8fbff;
    border: 1px solid #c8e7f4;
}

@media (max-width: 820px) {
    .photo-award-profile-container {
        padding: 14px 0;
    }

    .photo-award-profile-view-dashboard .dashboard-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .photo-award-profile-view-dashboard .dashboard-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .photo-award-profile-view-dashboard .dashboard-stats-pro {
        grid-template-columns: 1fr;
    }

    .photo-award-profile-view-dashboard .profile-content {
        padding: 20px;
    }

    .photo-award-profile-container .profile-user-info {
        align-items: flex-start;
        flex-direction: column;
    }

    .photo-award-profile-container .profile-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .photo-award-profile-container {
        padding: 10px;
    }

    .photo-award-profile-container .profile-nav ul {
        grid-template-columns: 1fr;
    }

    .photo-award-profile-view-dashboard .dashboard-hero,
    .photo-award-profile-view-dashboard .dashboard-panel {
        padding: 18px;
    }

    .photo-award-profile-view-dashboard .dashboard-hero h1 {
        font-size: 28px;
    }

    .photo-award-profile-view-dashboard .dashboard-hero-actions .btn {
        width: 100%;
    }
}

/* ===== GRAPHIC TABLE MEMBER TEMPLATE ===== */
.photo-award-profile-container {
    --pa-table-bg: #f6fbfe;
    --pa-table-surface: #ffffff;
    --pa-table-soft: #eef8fc;
    --pa-table-line: #d6e9f3;
    --pa-table-line-strong: #a8d8e8;
    --pa-table-ink: #142033;
    --pa-table-muted: #637487;
    --pa-table-accent: #0891b2;
    --pa-table-accent-2: #f97316;
    --pa-table-accent-3: #8b5cf6;
    --pa-table-shadow: 0 16px 34px rgba(15, 39, 64, 0.07);
    max-width: 1180px;
}

.photo-award-profile-container .profile-user-info,
.photo-award-profile-container .profile-nav,
.photo-award-profile-container .profile-content {
    border-color: var(--pa-table-line);
}

.photo-award-profile-container .profile-sidebar {
    order: 1;
}

.photo-award-profile-container .profile-content {
    order: 2;
}

.photo-award-profile-container .profile-user-info {
    background: linear-gradient(90deg, #ffffff 0%, #f3fbff 100%);
}

.photo-award-profile-container .profile-nav {
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 39, 64, 0.04);
}

.photo-award-profile-container .profile-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 0;
}

.photo-award-profile-container .profile-nav li {
    min-width: 0;
}

.photo-award-profile-container .profile-nav a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 12px 10px;
    background: #ffffff;
    border: 0;
    border-right: 1px solid var(--pa-table-line);
    border-bottom: 1px solid var(--pa-table-line);
    border-radius: 0;
    color: var(--pa-table-ink);
}

.photo-award-profile-container .profile-nav li.active a {
    background: linear-gradient(180deg, #0ea5c3 0%, #087f9b 100%);
    color: #ffffff;
}

.photo-award-profile-container .profile-content {
    background: var(--pa-table-bg);
    border: 1px solid var(--pa-table-line);
    border-radius: 8px;
    box-shadow: var(--pa-table-shadow);
}

.photo-award-profile-container .profile-page,
.photo-award-profile-container .entry-template,
.photo-award-profile-container .original-file-requests-container,
.photo-award-profile-container .photo-award-credit-bundles {
    color: var(--pa-table-ink);
}

.photo-award-profile-container .profile-page:not(.dashboard-page),
.photo-award-profile-container .entry-template .profile-page,
.photo-award-profile-container .original-file-requests-container,
.photo-award-profile-container .photo-award-credit-bundles {
    background: var(--pa-table-surface);
    border: 1px solid var(--pa-table-line);
    border-radius: 8px;
    box-shadow: var(--pa-table-shadow);
    overflow: hidden;
}

.photo-award-profile-container .profile-page:not(.dashboard-page) > h1,
.photo-award-profile-container .original-file-requests-container > h2,
.photo-award-profile-container .bundles-page > h1 {
    display: flex;
    align-items: center;
    min-height: 62px;
    margin: 0;
    padding: 18px 24px;
    background: linear-gradient(90deg, #f8fcff 0%, #eef8fc 100%);
    border: 0;
    border-bottom: 1px solid var(--pa-table-line);
    color: var(--pa-table-ink);
    font-size: 22px;
}

.photo-award-profile-container .profile-page:not(.dashboard-page) > h1::before,
.photo-award-profile-container .original-file-requests-container > h2::before,
.photo-award-profile-container .bundles-page > h1::before {
    content: "";
    width: 8px;
    height: 28px;
    margin-right: 12px;
    background: linear-gradient(180deg, var(--pa-table-accent), var(--pa-table-accent-3));
    border-radius: 99px;
}

.photo-award-profile-container .profile-page:not(.dashboard-page) > p,
.photo-award-profile-container .bundles-page > p {
    margin: 0;
    padding: 18px 24px;
    border-bottom: 1px solid var(--pa-table-line);
    color: var(--pa-table-muted);
}

.photo-award-profile-view-dashboard .dashboard-hero,
.photo-award-profile-view-dashboard .dashboard-stats-pro,
.photo-award-profile-view-dashboard .dashboard-panel,
.entry-template .entry-page-header,
.entry-template .events-summary,
.entry-template .entries-summary,
.entry-template .events-grid,
.entry-template .entries-list-container,
.entry-template .no-entries,
.entry-template .no-events,
.original-file-requests-container .notice {
    background: var(--pa-table-surface);
    border: 1px solid var(--pa-table-line);
    border-radius: 8px;
    box-shadow: var(--pa-table-shadow);
}

.photo-award-profile-view-dashboard .dashboard-hero {
    background: linear-gradient(135deg, #f5fcff 0%, #fff8f1 52%, #f7f1ff 100%);
    border-left: 5px solid var(--pa-table-accent);
}

.photo-award-profile-view-dashboard .dashboard-stats-pro {
    gap: 0;
    overflow: hidden;
}

.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card {
    position: relative;
    min-height: 150px;
    padding: 24px;
    border: 0;
    border-right: 1px solid var(--pa-table-line);
    border-radius: 0;
    box-shadow: none;
}

.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card:last-child {
    border-right: 0;
}

.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--pa-table-accent);
}

.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card-events::before {
    background: var(--pa-table-accent-2);
}

.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card-profile::before {
    background: var(--pa-table-accent-3);
}

.photo-award-profile-view-dashboard .dashboard-panel {
    padding: 0;
    overflow: hidden;
}

.photo-award-profile-view-dashboard .dashboard-panel-label,
.photo-award-profile-view-dashboard .dashboard-panel h2,
.photo-award-profile-view-dashboard .wallet-balance-amount {
    padding-left: 24px;
    padding-right: 24px;
}

.photo-award-profile-view-dashboard .dashboard-panel-label {
    margin: 0;
    padding-top: 18px;
}

.photo-award-profile-view-dashboard .dashboard-panel h2 {
    margin: 0;
    padding-top: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pa-table-line);
}

.photo-award-profile-view-dashboard .wallet-balance-amount {
    padding-top: 22px;
    padding-bottom: 28px;
}

.photo-award-profile-view-dashboard .dashboard-empty-state {
    margin: 22px 24px 24px;
    border-color: var(--pa-table-line-strong);
}

.photo-award-profile-container table,
.photo-award-profile-container .wallet-transactions-table,
.photo-award-profile-container .user-entries-table,
.photo-award-profile-container .original-file-requests-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid var(--pa-table-line);
    border-radius: 8px;
    overflow: hidden;
}

.photo-award-profile-container table th,
.photo-award-profile-container table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--pa-table-line);
    color: var(--pa-table-ink);
    vertical-align: middle;
}

.photo-award-profile-container table th {
    background: linear-gradient(180deg, #f4fbff 0%, #eaf6fb 100%);
    color: #365166;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.photo-award-profile-container table tr:last-child td {
    border-bottom: 0;
}

.entry-template .entry-page-header {
    padding: 0;
    overflow: hidden;
}

.entry-template .entry-page-kicker {
    margin: 0;
    padding: 14px 22px 0;
}

.entry-template .entry-page-header h1 {
    margin: 0;
    padding: 8px 22px 16px;
    border-bottom: 1px solid var(--pa-table-line);
}

.entry-template .entry-page-header p {
    margin: 0;
    padding: 16px 22px;
}

.entry-template .events-summary,
.entry-template .entries-summary {
    border-left: 5px solid var(--pa-table-accent);
    box-shadow: none;
}

.entry-template .events-grid,
.entry-template .entries-list-container {
    gap: 0;
    overflow: hidden;
}

.entry-template .event-card-wide,
.entry-template .entry-row {
    border: 0;
    border-bottom: 1px solid var(--pa-table-line);
    border-radius: 0;
    box-shadow: none;
}

.entry-template .event-card-wide:last-child,
.entry-template .entry-row:last-child {
    border-bottom: 0;
}

.entry-template .no-entries,
.entry-template .no-events {
    min-height: 190px;
    display: grid;
    align-content: center;
    justify-items: center;
}

.photo-award-profile-container .embedded-entry-form-shell {
    margin: 22px 24px 24px;
    background: #ffffff;
    border: 1px solid var(--pa-table-line);
    border-radius: 8px;
    overflow: hidden;
}

.photo-award-profile-container .entry-form-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 18px;
    background: #f7fbfd;
    border-bottom: 1px solid var(--pa-table-line);
}

.photo-award-profile-container .embedded-entry-form-shell .event-registration-container {
    margin: 0;
    padding: 0;
    max-width: none;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.photo-award-profile-container .embedded-entry-form-shell .event-registration-container > .event-title,
.photo-award-profile-container .embedded-entry-form-shell .event-registration-container > .event-subtitle {
    display: none;
}

.photo-award-profile-container .embedded-entry-form-shell #event-registration-form {
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 0;
    border-radius: 0;
}

.photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field,
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .inline.fields {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin: 0;
    padding: 18px 22px;
    border-bottom: 1px solid var(--pa-table-line);
}

.photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .inline.fields {
    grid-template-columns: 1fr;
}

.photo-award-profile-container .embedded-entry-form-shell #event-registration-form label,
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form .field > label {
    margin: 0;
    color: #365166;
    font-size: 13px;
    font-weight: 800;
}

.photo-award-profile-container .embedded-entry-form-shell #event-registration-form input[type="text"],
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form input[type="number"],
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form input[type="file"],
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form select,
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form textarea {
    width: 100%;
    min-height: 42px;
    background: #fbfdff;
    border: 1px solid var(--pa-table-line);
    border-radius: 6px;
    color: var(--pa-table-ink);
}

.photo-award-profile-container .embedded-entry-form-shell #event-registration-form textarea {
    min-height: 120px;
}

.photo-award-profile-container .embedded-entry-form-shell .ui.radio.checkbox,
.photo-award-profile-container .embedded-entry-form-shell .ui.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    margin-right: 18px;
}

.photo-award-profile-container .embedded-entry-form-shell .cost-summary,
.photo-award-profile-container .embedded-entry-form-shell .image-requirements-info,
.photo-award-profile-container .embedded-entry-form-shell .registration-status-message {
    margin: 18px 22px;
    border-radius: 8px;
}

.photo-award-profile-container .embedded-entry-form-shell #event-registration-form button[type="submit"],
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form .button,
.photo-award-profile-container .embedded-entry-form-shell #event-registration-form .btn {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--pa-table-accent);
    color: #ffffff;
    font-weight: 800;
}

.photo-award-profile-container .profile-form {
    max-width: none;
    margin: 0;
    background: #ffffff;
    border: 1px solid var(--pa-table-line);
    border-radius: 8px;
    overflow: hidden;
}

.photo-award-profile-container .profile-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.photo-award-profile-container .profile-form .form-group {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 16px 22px;
    border-bottom: 1px solid var(--pa-table-line);
}

.photo-award-profile-container .profile-form .form-row .form-group {
    width: auto;
}

.photo-award-profile-container .profile-form label {
    margin: 0;
    color: #365166;
    font-size: 13px;
    font-weight: 800;
}

.photo-award-profile-container .profile-form input,
.photo-award-profile-container .profile-form select,
.photo-award-profile-container .profile-form textarea {
    width: 100%;
    background: #fbfdff;
    border: 1px solid var(--pa-table-line);
    border-radius: 6px;
}

.photo-award-profile-container .profile-form .form-actions {
    margin: 0;
    padding: 18px 22px;
    background: #f8fcff;
    border-top: 1px solid var(--pa-table-line);
}

.photo-award-profile-container .original-file-requests-container {
    padding: 0;
}

.photo-award-profile-container .original-file-requests-container .notice {
    margin: 22px;
    padding: 20px;
}

.photo-award-profile-container .original-file-requests-table {
    margin: 22px;
    width: calc(100% - 44px);
}

.photo-award-profile-container .photo-award-credit-bundles {
    margin: 22px 24px;
    padding: 0;
}

.photo-award-profile-container .photo-award-bundles-empty {
    margin: 22px 24px;
    padding: 26px;
    background: #f8fcff;
    border: 1px dashed var(--pa-table-line-strong);
    border-radius: 8px;
    color: var(--pa-table-muted);
    font-size: 16px;
    text-align: center;
}

.photo-award-profile-container .photo-award-credit-bundles .bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    border: 1px solid var(--pa-table-line);
    border-radius: 8px;
    overflow: hidden;
}

.photo-award-profile-container .photo-award-credit-bundles .bundle-card {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(260px, 1fr) 180px;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 18px 22px;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid var(--pa-table-line);
    border-radius: 0;
    box-shadow: none;
}

.photo-award-profile-container .photo-award-credit-bundles .bundle-card:last-child {
    border-bottom: 0;
}

.photo-award-profile-container .photo-award-credit-bundles .bundle-name,
.photo-award-profile-container .photo-award-credit-bundles .bundle-details,
.photo-award-profile-container .photo-award-credit-bundles .bundle-details p {
    margin: 0;
}

.photo-award-profile-container .photo-award-credit-bundles .bundle-buy-btn,
.photo-award-profile-container .photo-award-credit-bundles .open-login-budle {
    width: 100%;
    min-height: 44px;
    background: var(--pa-table-accent);
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 800;
}

@media (max-width: 900px) {
    .photo-award-profile-container .profile-form .form-row,
    .photo-award-profile-container .photo-award-credit-bundles .bundle-card {
        grid-template-columns: 1fr;
    }

    .photo-award-profile-container .profile-form .form-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card {
        border-right: 0;
        border-bottom: 1px solid var(--pa-table-line);
    }

    .photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .photo-award-profile-container .profile-page:not(.dashboard-page) > h1,
    .photo-award-profile-container .original-file-requests-container > h2,
    .photo-award-profile-container .bundles-page > h1 {
        font-size: 20px;
    }

    .photo-award-profile-container table th,
    .photo-award-profile-container table td {
        padding: 12px;
    }
}

/* ===== ACTIVE MEMBER DASHBOARD TEMPLATE OVERRIDES ===== */
.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template {
    color: var(--pa-dashboard-text);
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-hero,
.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-panel,
.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-stats-pro .stat-card {
    background: var(--pa-dashboard-surface);
    border: 1px solid var(--pa-dashboard-line);
    border-radius: 8px;
    box-shadow: none;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-stats-pro {
    gap: 16px;
    overflow: visible;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-stats-pro .stat-card {
    border-right: 1px solid var(--pa-dashboard-line);
    border-bottom: 1px solid var(--pa-dashboard-line);
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-stats-pro .stat-card::before {
    display: none;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-panel {
    padding: 22px;
    overflow: visible;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-panel-label,
.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-panel h2,
.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .wallet-balance-amount {
    padding-left: 0;
    padding-right: 0;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-panel-label {
    padding-top: 0;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-panel h2 {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .wallet-balance-amount {
    padding-top: 0;
    padding-bottom: 0;
}

.photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-empty-state {
    margin: 0;
    border-color: var(--pa-dashboard-line);
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-cinematic .profile-content {
    background: #101418;
    border-color: #222a34;
    color: #edf2f7;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-cinematic .dashboard-template {
    --pa-dashboard-surface: #151a21;
    --pa-dashboard-surface-soft: #0d1117;
    --pa-dashboard-text: #f8fafc;
    --pa-dashboard-muted: #aeb9c7;
    --pa-dashboard-accent: #e0b057;
    --pa-dashboard-line: #2b3440;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-cinematic .dashboard-hero {
    border-left: 5px solid #e0b057;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-cinematic .stat-card {
    background: #111820;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-studio .profile-content {
    background: #f3f6f8;
    border-color: #d9e2ea;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-studio .dashboard-template {
    --pa-dashboard-surface: #ffffff;
    --pa-dashboard-surface-soft: #f3f6f8;
    --pa-dashboard-text: #17202a;
    --pa-dashboard-muted: #64748b;
    --pa-dashboard-accent: #0f766e;
    --pa-dashboard-line: #d9e2ea;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-studio .dashboard-hero,
.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-studio .dashboard-panel,
.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-studio .stat-card {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-curator .profile-content {
    background: #f6f7ef;
    border-color: #d8dfd6;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-curator .dashboard-template {
    --pa-dashboard-surface: #fbfbf7;
    --pa-dashboard-surface-soft: #eef7f1;
    --pa-dashboard-text: #18221d;
    --pa-dashboard-muted: #637067;
    --pa-dashboard-accent: #317a55;
    --pa-dashboard-line: #d8dfd6;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-curator .dashboard-hero {
    border-left: 6px solid #317a55;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-curator .stat-card {
    background: #ffffff;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-signal .profile-content {
    background: #ffffff;
    border-color: #1f2937;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-signal .dashboard-template {
    --pa-dashboard-surface: #f7f8fb;
    --pa-dashboard-surface-soft: #ffffff;
    --pa-dashboard-text: #111827;
    --pa-dashboard-muted: #4b5563;
    --pa-dashboard-accent: #c2410c;
    --pa-dashboard-line: #1f2937;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-signal .dashboard-hero,
.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-signal .dashboard-panel,
.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-signal .stat-card {
    border-width: 2px;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .profile-content {
    background: #f8fbff;
    border-color: #c8e7f4;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .dashboard-template {
    --pa-dashboard-surface: #ffffff;
    --pa-dashboard-surface-soft: #eff9fb;
    --pa-dashboard-text: #152033;
    --pa-dashboard-muted: #5d6f82;
    --pa-dashboard-accent: #0891b2;
    --pa-dashboard-line: #c8e7f4;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .dashboard-hero {
    border: 0;
    color: #102033;
    background: linear-gradient(135deg, #e7fbff 0%, #fff7ed 48%, #f3e8ff 100%);
    box-shadow: inset 0 0 0 1px rgba(8, 145, 178, 0.22);
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .stat-card {
    border: 0;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 39, 64, 0.08);
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .stat-card-entries {
    border-top: 5px solid #06b6d4;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .stat-card-events {
    border-top: 5px solid #f97316;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .stat-card-profile {
    border-top: 5px solid #8b5cf6;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .profile-content {
    background: #08080a;
    border-color: #26221a;
    color: #f7f2e7;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .dashboard-template {
    --pa-dashboard-surface: #101012;
    --pa-dashboard-surface-soft: #181818;
    --pa-dashboard-text: #f7f2e7;
    --pa-dashboard-muted: #c9bd9b;
    --pa-dashboard-accent: #c79a2b;
    --pa-dashboard-line: #3b321f;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .dashboard-hero,
.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .dashboard-panel,
.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .stat-card {
    border-radius: 0;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .dashboard-hero {
    border-top: 6px solid #c79a2b;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .stat-card {
    border-left: 5px solid #c79a2b;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .profile-content {
    background: #ffffff;
    border-color: #dbe4ff;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .dashboard-template {
    --pa-dashboard-surface: #ffffff;
    --pa-dashboard-surface-soft: #f6f8ff;
    --pa-dashboard-text: #15142b;
    --pa-dashboard-muted: #5c6074;
    --pa-dashboard-accent: #2563eb;
    --pa-dashboard-line: #dbe4ff;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .dashboard-hero {
    background: linear-gradient(90deg, #eff6ff 0%, #eff6ff 52%, #ffffff 52%, #ffffff 100%);
    border-color: #bfdbfe;
    border-bottom: 5px solid #f97316;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .stat-card {
    border: 0;
    color: #111827;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .stat-card-entries {
    background: #dbeafe;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .stat-card-events {
    background: #fef3c7;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .stat-card-profile {
    background: #dcfce7;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .stat-number {
    color: #111827;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .profile-content {
    background: #101827;
    border-color: #2e3a56;
    color: #fffaf0;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .dashboard-template {
    --pa-dashboard-surface: #fffaf0;
    --pa-dashboard-surface-soft: #f1ead8;
    --pa-dashboard-text: #141b2d;
    --pa-dashboard-muted: #6b6254;
    --pa-dashboard-accent: #b8872e;
    --pa-dashboard-line: #d8c394;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .dashboard-hero {
    color: #fffaf0;
    background: #141b2d;
    border-color: #b8872e;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .dashboard-hero h1 {
    color: #fffaf0;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .dashboard-hero p {
    color: #d8cfbd;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .stat-card,
.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .dashboard-panel {
    background: #fffaf0;
    border-color: #d8c394;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-cinematic .dashboard-template .dashboard-stats-pro .stat-card {
    background: #111820;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-studio .dashboard-template .dashboard-stats-pro .stat-card {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-curator .dashboard-template .dashboard-stats-pro .stat-card {
    background: #ffffff;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .dashboard-template .dashboard-stats-pro .stat-card {
    border: 0;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 39, 64, 0.08);
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .dashboard-template .dashboard-stats-pro .stat-card-entries {
    border-top: 5px solid #06b6d4;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .dashboard-template .dashboard-stats-pro .stat-card-events {
    border-top: 5px solid #f97316;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-aurora .dashboard-template .dashboard-stats-pro .stat-card-profile {
    border-top: 5px solid #8b5cf6;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-noir .dashboard-template .dashboard-stats-pro .stat-card {
    border-left: 5px solid #c79a2b;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .dashboard-template .dashboard-stats-pro .stat-card {
    border: 0;
    color: #111827;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .dashboard-template .dashboard-stats-pro .stat-card-entries {
    background: #dbeafe;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .dashboard-template .dashboard-stats-pro .stat-card-events {
    background: #fef3c7;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-prism .dashboard-template .dashboard-stats-pro .stat-card-profile {
    background: #dcfce7;
}

.photo-award-profile-container.photo-award-profile-view-dashboard.photo-award-dashboard-template-royal .dashboard-template .dashboard-stats-pro .stat-card {
    background: #fffaf0;
    border-color: #d8c394;
}

/* ===== WHOLE PAGE MEMBER TEMPLATE SYSTEM ===== */
body.photo-award-profile-page {
    --pa-shell-page-bg: #f6fbfe;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f8fcff;
    --pa-shell-soft: #eef8fc;
    --pa-shell-line: #d6e9f3;
    --pa-shell-line-strong: #a8d8e8;
    --pa-shell-ink: #142033;
    --pa-shell-muted: #637487;
    --pa-shell-accent: #0891b2;
    --pa-shell-accent-2: #f97316;
    --pa-shell-accent-3: #8b5cf6;
    --pa-shell-on-accent: #ffffff;
    --pa-shell-radius: 8px;
    --pa-shell-shadow: 0 18px 42px rgba(15, 39, 64, 0.08);
    --pa-shell-width: 1180px;
    --pa-shell-content-pad: 28px;
    background: var(--pa-shell-page-bg);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .wp-site-blocks,
body.photo-award-profile-page .site,
body.photo-award-profile-page .site-content,
body.photo-award-profile-page .ast-container,
body.photo-award-profile-page .entry-content,
body.photo-award-profile-page .wp-block-post-content,
body.photo-award-profile-page .photo-award-profile-main {
    background: var(--pa-shell-page-bg) !important;
}

body.photo-award-profile-page .entry-header,
body.photo-award-profile-page .wp-block-post-title {
    display: none;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-cinematic,
.photo-award-profile-container.photo-award-dashboard-template-cinematic {
    --pa-shell-page-bg: #080b10;
    --pa-shell-surface: #111820;
    --pa-shell-surface-2: #151d27;
    --pa-shell-soft: #0d1117;
    --pa-shell-line: #2b3440;
    --pa-shell-line-strong: #465363;
    --pa-shell-ink: #f8fafc;
    --pa-shell-muted: #aeb9c7;
    --pa-shell-accent: #e0b057;
    --pa-shell-accent-2: #38bdf8;
    --pa-shell-accent-3: #f97316;
    --pa-shell-on-accent: #121212;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-studio,
.photo-award-profile-container.photo-award-dashboard-template-studio {
    --pa-shell-page-bg: #f3f6f8;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f8fafc;
    --pa-shell-soft: #e8f0f3;
    --pa-shell-line: #d9e2ea;
    --pa-shell-line-strong: #b7c7d4;
    --pa-shell-ink: #17202a;
    --pa-shell-muted: #64748b;
    --pa-shell-accent: #0f766e;
    --pa-shell-accent-2: #2563eb;
    --pa-shell-accent-3: #d97706;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-curator,
.photo-award-profile-container.photo-award-dashboard-template-curator {
    --pa-shell-page-bg: #f6f7ef;
    --pa-shell-surface: #fbfbf7;
    --pa-shell-surface-2: #ffffff;
    --pa-shell-soft: #eef7f1;
    --pa-shell-line: #d8dfd6;
    --pa-shell-line-strong: #b7c7b6;
    --pa-shell-ink: #18221d;
    --pa-shell-muted: #637067;
    --pa-shell-accent: #317a55;
    --pa-shell-accent-2: #b8872e;
    --pa-shell-accent-3: #7c3aed;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-signal,
.photo-award-profile-container.photo-award-dashboard-template-signal {
    --pa-shell-page-bg: #ffffff;
    --pa-shell-surface: #f7f8fb;
    --pa-shell-surface-2: #ffffff;
    --pa-shell-soft: #eef2f7;
    --pa-shell-line: #1f2937;
    --pa-shell-line-strong: #111827;
    --pa-shell-ink: #111827;
    --pa-shell-muted: #4b5563;
    --pa-shell-accent: #c2410c;
    --pa-shell-accent-2: #2563eb;
    --pa-shell-accent-3: #16a34a;
    --pa-shell-radius: 2px;
    --pa-shell-shadow: none;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-aurora,
.photo-award-profile-container.photo-award-dashboard-template-aurora {
    --pa-shell-page-bg: #f8fbff;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f9fdff;
    --pa-shell-soft: #eff9fb;
    --pa-shell-line: #c8e7f4;
    --pa-shell-line-strong: #8bd6ea;
    --pa-shell-ink: #152033;
    --pa-shell-muted: #5d6f82;
    --pa-shell-accent: #0891b2;
    --pa-shell-accent-2: #f97316;
    --pa-shell-accent-3: #8b5cf6;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-noir,
.photo-award-profile-container.photo-award-dashboard-template-noir {
    --pa-shell-page-bg: #070707;
    --pa-shell-surface: #101012;
    --pa-shell-surface-2: #161616;
    --pa-shell-soft: #181818;
    --pa-shell-line: #3b321f;
    --pa-shell-line-strong: #725a24;
    --pa-shell-ink: #f7f2e7;
    --pa-shell-muted: #c9bd9b;
    --pa-shell-accent: #c79a2b;
    --pa-shell-accent-2: #f7f2e7;
    --pa-shell-accent-3: #9b7418;
    --pa-shell-on-accent: #08080a;
    --pa-shell-radius: 0;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-prism,
.photo-award-profile-container.photo-award-dashboard-template-prism {
    --pa-shell-page-bg: #f7f9ff;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f6f8ff;
    --pa-shell-soft: #eef4ff;
    --pa-shell-line: #dbe4ff;
    --pa-shell-line-strong: #bfdbfe;
    --pa-shell-ink: #15142b;
    --pa-shell-muted: #5c6074;
    --pa-shell-accent: #2563eb;
    --pa-shell-accent-2: #f97316;
    --pa-shell-accent-3: #22c55e;
}

body.photo-award-profile-page.photo-award-member-template-dashboard.photo-award-dashboard-template-royal,
.photo-award-profile-container.photo-award-dashboard-template-royal {
    --pa-shell-page-bg: #101827;
    --pa-shell-surface: #fffaf0;
    --pa-shell-surface-2: #f7efdd;
    --pa-shell-soft: #f1ead8;
    --pa-shell-line: #d8c394;
    --pa-shell-line-strong: #b8872e;
    --pa-shell-ink: #141b2d;
    --pa-shell-muted: #6b6254;
    --pa-shell-accent: #b8872e;
    --pa-shell-accent-2: #141b2d;
    --pa-shell-accent-3: #6f4d18;
    --pa-shell-on-accent: #101827;
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-editorial,
body.photo-award-event-submission-page.photo-award-entries-template-editorial,
.event-registration-container.photo-award-entries-template-editorial,
.photo-award-profile-container.photo-award-profile-view-new-entry.photo-award-entries-template-editorial,
.photo-award-profile-container.photo-award-profile-view-my-entries.photo-award-entries-template-editorial {
    --pa-shell-page-bg: #f8fafc;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #fff7f8;
    --pa-shell-soft: #f1f5f9;
    --pa-shell-line: #dfe5ec;
    --pa-shell-line-strong: #cbd5e1;
    --pa-shell-ink: #111827;
    --pa-shell-muted: #64748b;
    --pa-shell-accent: #fb7185;
    --pa-shell-accent-2: #0f766e;
    --pa-shell-accent-3: #f59e0b;
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-archive,
body.photo-award-event-submission-page.photo-award-entries-template-archive,
.event-registration-container.photo-award-entries-template-archive,
.photo-award-profile-container.photo-award-profile-view-new-entry.photo-award-entries-template-archive,
.photo-award-profile-container.photo-award-profile-view-my-entries.photo-award-entries-template-archive {
    --pa-shell-page-bg: #f5f7f2;
    --pa-shell-surface: #fffefa;
    --pa-shell-surface-2: #f8f5eb;
    --pa-shell-soft: #eef2e7;
    --pa-shell-line: #d8ddcc;
    --pa-shell-line-strong: #b8c2a8;
    --pa-shell-ink: #1f2933;
    --pa-shell-muted: #67705f;
    --pa-shell-accent: #4d7c0f;
    --pa-shell-accent-2: #b45309;
    --pa-shell-accent-3: #0369a1;
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-proofing,
body.photo-award-event-submission-page.photo-award-entries-template-proofing,
.event-registration-container.photo-award-entries-template-proofing,
.photo-award-profile-container.photo-award-profile-view-new-entry.photo-award-entries-template-proofing,
.photo-award-profile-container.photo-award-profile-view-my-entries.photo-award-entries-template-proofing {
    --pa-shell-page-bg: #f6fbfe;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f8fcff;
    --pa-shell-soft: #eef8fc;
    --pa-shell-line: #d6e9f3;
    --pa-shell-line-strong: #a8d8e8;
    --pa-shell-ink: #142033;
    --pa-shell-muted: #637487;
    --pa-shell-accent: #0891b2;
    --pa-shell-accent-2: #f97316;
    --pa-shell-accent-3: #8b5cf6;
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-timeline,
body.photo-award-event-submission-page.photo-award-entries-template-timeline,
.event-registration-container.photo-award-entries-template-timeline,
.photo-award-profile-container.photo-award-profile-view-new-entry.photo-award-entries-template-timeline,
.photo-award-profile-container.photo-award-profile-view-my-entries.photo-award-entries-template-timeline {
    --pa-shell-page-bg: #fff7ed;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #fffaf5;
    --pa-shell-soft: #ffedd5;
    --pa-shell-line: #fed7aa;
    --pa-shell-line-strong: #fdba74;
    --pa-shell-ink: #2b1d13;
    --pa-shell-muted: #7c5b45;
    --pa-shell-accent: #ea580c;
    --pa-shell-accent-2: #0f766e;
    --pa-shell-accent-3: #7c3aed;
}

body.photo-award-event-submission-page {
    background: var(--pa-shell-page-bg);
}

body.photo-award-event-submission-page .event-registration-container,
.event-registration-container[class*="photo-award-entries-template-"] {
    max-width: min(100%, 1040px);
    margin: 24px auto;
    padding: 28px;
    background: var(--pa-shell-surface);
    color: var(--pa-shell-ink);
    border: 1px solid var(--pa-shell-line);
    border-radius: 8px;
    box-shadow: var(--pa-shell-shadow);
}

body.photo-award-event-submission-page .event-registration-container > .event-title,
.event-registration-container[class*="photo-award-entries-template-"] > .event-title {
    color: var(--pa-shell-ink);
}

body.photo-award-event-submission-page .event-registration-container > .event-subtitle,
.event-registration-container[class*="photo-award-entries-template-"] > .event-subtitle {
    color: var(--pa-shell-muted);
}

body.photo-award-event-submission-page #event-registration-form,
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form {
    background: var(--pa-shell-surface-2);
    border: 1px solid var(--pa-shell-line);
    border-radius: 8px;
}

body.photo-award-event-submission-page #event-registration-form input[type="text"],
body.photo-award-event-submission-page #event-registration-form input[type="number"],
body.photo-award-event-submission-page #event-registration-form input[type="file"],
body.photo-award-event-submission-page #event-registration-form select,
body.photo-award-event-submission-page #event-registration-form textarea,
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form input[type="text"],
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form input[type="number"],
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form input[type="file"],
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form select,
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form textarea {
    border-color: var(--pa-shell-line);
    background: var(--pa-shell-surface);
    color: var(--pa-shell-ink);
}

body.photo-award-event-submission-page #event-registration-form input:focus,
body.photo-award-event-submission-page #event-registration-form select:focus,
body.photo-award-event-submission-page #event-registration-form textarea:focus,
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form input:focus,
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form select:focus,
.event-registration-container[class*="photo-award-entries-template-"] #event-registration-form textarea:focus {
    border-color: var(--pa-shell-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pa-shell-accent) 18%, transparent);
}

body.photo-award-profile-page .photo-award-profile-main {
    min-height: 100vh;
    padding: 34px 18px;
}

body.photo-award-profile-page .photo-award-profile-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: var(--pa-shell-width);
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .profile-sidebar,
body.photo-award-profile-page .profile-content {
    width: 100%;
    min-width: 0;
}

body.photo-award-profile-page .profile-sidebar {
    position: static;
    top: auto;
    padding: 0;
    background: transparent;
}

body.photo-award-profile-page .profile-user-info,
body.photo-award-profile-page .profile-nav,
body.photo-award-profile-page .profile-content {
    background: var(--pa-shell-surface);
    border: 1px solid var(--pa-shell-line);
    border-radius: var(--pa-shell-radius);
    box-shadow: var(--pa-shell-shadow);
}

body.photo-award-profile-page .profile-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 10px;
    padding: 16px 18px;
}

body.photo-award-profile-page .profile-user-info h3,
body.photo-award-profile-page .profile-user-info p {
    margin: 0;
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .profile-user-info p {
    color: var(--pa-shell-muted);
}

body.photo-award-profile-page .profile-nav {
    padding: 0;
    overflow: hidden;
}

body.photo-award-profile-page .profile-nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 0;
    margin: 0;
}

body.photo-award-profile-page .profile-nav li {
    min-width: 0;
    margin: 0;
}

body.photo-award-profile-page .profile-nav a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    background: var(--pa-shell-surface);
    border-right: 1px solid var(--pa-shell-line);
    border-bottom: 1px solid var(--pa-shell-line);
    color: var(--pa-shell-ink);
    text-align: center;
}

body.photo-award-profile-page .profile-nav a:hover {
    background: var(--pa-shell-soft);
    color: var(--pa-shell-accent);
}

body.photo-award-profile-page .profile-nav li.active a {
    background: var(--pa-shell-accent);
    color: var(--pa-shell-on-accent);
}

body.photo-award-profile-page .profile-nav .nav-icon {
    margin-right: 0;
}

body.photo-award-profile-page .profile-content {
    padding: var(--pa-shell-content-pad);
    background: var(--pa-shell-page-bg);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .photo-award-profile-container,
body.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .photo-award-profile-container {
    --pa-shell-width: 1260px;
    grid-template-columns: minmax(230px, 282px) minmax(0, 1fr);
    align-items: start;
}

body.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .profile-sidebar,
body.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .profile-sidebar {
    position: sticky;
    top: 34px;
}

body.admin-bar.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .profile-sidebar,
body.admin-bar.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .profile-sidebar {
    top: 66px;
}

body.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .profile-nav ul,
body.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .profile-nav ul {
    grid-template-columns: 1fr;
}

body.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .profile-nav a,
body.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .profile-nav a {
    justify-content: flex-start;
    text-align: left;
    border-right: 0;
}

body.photo-award-profile-page .profile-page,
body.photo-award-profile-page .entry-template,
body.photo-award-profile-page .original-file-requests-container,
body.photo-award-profile-page .photo-award-credit-bundles {
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .profile-page:not(.dashboard-page),
body.photo-award-profile-page .entry-archive-shell,
body.photo-award-profile-page .original-file-requests-container,
body.photo-award-profile-page .photo-award-credit-bundles {
    background: var(--pa-shell-surface);
    border: 1px solid var(--pa-shell-line);
    border-radius: var(--pa-shell-radius);
    box-shadow: var(--pa-shell-shadow);
    overflow: hidden;
}

body.photo-award-profile-page .entry-archive-shell .profile-page {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.photo-award-profile-page .profile-page:not(.dashboard-page) > h1,
body.photo-award-profile-page .original-file-requests-container > h2,
body.photo-award-profile-page .bundles-page > h1,
body.photo-award-profile-page .entry-page-header {
    margin: 0;
    padding: 20px 24px;
    background: linear-gradient(90deg, var(--pa-shell-surface-2) 0%, var(--pa-shell-soft) 100%);
    border: 0;
    border-bottom: 1px solid var(--pa-shell-line);
    border-radius: 0;
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .entry-page-header {
    margin-bottom: 18px;
    border: 1px solid var(--pa-shell-line);
    border-radius: var(--pa-shell-radius);
    box-shadow: var(--pa-shell-shadow);
}

body.photo-award-profile-page .entry-page-kicker,
body.photo-award-profile-page .dashboard-eyebrow,
body.photo-award-profile-page .dashboard-panel-label {
    color: var(--pa-shell-accent);
}

body.photo-award-profile-page .profile-page:not(.dashboard-page) > p,
body.photo-award-profile-page .bundles-page > p,
body.photo-award-profile-page .entry-page-header p,
body.photo-award-profile-page .profile-page p {
    color: var(--pa-shell-muted);
}

body.photo-award-profile-page .profile-page:not(.dashboard-page) > p,
body.photo-award-profile-page .bundles-page > p {
    margin: 0;
    padding: 18px 24px;
    border-bottom: 1px solid var(--pa-shell-line);
}

body.photo-award-profile-page .dashboard-template {
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page.photo-award-member-template-dashboard .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template {
    --pa-dashboard-surface: var(--pa-shell-surface);
    --pa-dashboard-surface-soft: var(--pa-shell-soft);
    --pa-dashboard-text: var(--pa-shell-ink);
    --pa-dashboard-muted: var(--pa-shell-muted);
    --pa-dashboard-accent: var(--pa-shell-accent);
    --pa-dashboard-line: var(--pa-shell-line);
}

body.photo-award-profile-page.photo-award-member-template-dashboard .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-hero,
body.photo-award-profile-page.photo-award-member-template-dashboard .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-panel,
body.photo-award-profile-page.photo-award-member-template-dashboard .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-template .dashboard-stats-pro .stat-card {
    background: var(--pa-shell-surface);
    border-color: var(--pa-shell-line);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page.photo-award-dashboard-template-aurora .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-hero {
    background: linear-gradient(135deg, #e7fbff 0%, #fff7ed 48%, #f3e8ff 100%);
    color: #102033;
}

body.photo-award-profile-page.photo-award-dashboard-template-prism .photo-award-profile-container.photo-award-profile-view-dashboard .stat-card-entries {
    background: #dbeafe;
}

body.photo-award-profile-page.photo-award-dashboard-template-prism .photo-award-profile-container.photo-award-profile-view-dashboard .stat-card-events {
    background: #fef3c7;
}

body.photo-award-profile-page.photo-award-dashboard-template-prism .photo-award-profile-container.photo-award-profile-view-dashboard .stat-card-profile {
    background: #dcfce7;
}

body.photo-award-profile-page.photo-award-dashboard-template-royal .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-hero {
    background: #141b2d;
    color: #fffaf0;
}

body.photo-award-profile-page .dashboard-stats-pro,
body.photo-award-profile-page .dashboard-panel,
body.photo-award-profile-page .events-summary,
body.photo-award-profile-page .entries-summary,
body.photo-award-profile-page .events-grid,
body.photo-award-profile-page .entries-list-container,
body.photo-award-profile-page .embedded-entry-form-shell,
body.photo-award-profile-page .profile-form,
body.photo-award-profile-page .no-entries,
body.photo-award-profile-page .no-events,
body.photo-award-profile-page .original-file-requests-container .notice,
body.photo-award-profile-page .photo-award-bundles-empty {
    background: var(--pa-shell-surface);
    border: 1px solid var(--pa-shell-line);
    border-radius: var(--pa-shell-radius);
    box-shadow: var(--pa-shell-shadow);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .event-card-wide,
body.photo-award-profile-page .entry-row,
body.photo-award-profile-page .bundle-card {
    background: var(--pa-shell-surface);
    border-color: var(--pa-shell-line);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page table,
body.photo-award-profile-page .wallet-transactions-table,
body.photo-award-profile-page .user-entries-table,
body.photo-award-profile-page .original-file-requests-table {
    background: var(--pa-shell-surface);
    border-color: var(--pa-shell-line);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page table th,
body.photo-award-profile-page .wallet-transactions-table th,
body.photo-award-profile-page .user-entries-table th,
body.photo-award-profile-page .original-file-requests-table th {
    background: var(--pa-shell-soft);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page table td,
body.photo-award-profile-page .wallet-transactions-table td,
body.photo-award-profile-page .user-entries-table td,
body.photo-award-profile-page .original-file-requests-table td {
    border-color: var(--pa-shell-line);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .profile-content input[type="text"],
body.photo-award-profile-page .profile-content input[type="email"],
body.photo-award-profile-page .profile-content input[type="password"],
body.photo-award-profile-page .profile-content input[type="number"],
body.photo-award-profile-page .profile-content input[type="file"],
body.photo-award-profile-page .profile-content select,
body.photo-award-profile-page .profile-content textarea,
body.photo-award-profile-page .profile-content .select2-container--default .select2-selection--single {
    background: var(--pa-shell-surface-2);
    border: 1px solid var(--pa-shell-line);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .profile-content label,
body.photo-award-profile-page .profile-content .field > label,
body.photo-award-profile-page .profile-form label {
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .profile-content .btn,
body.photo-award-profile-page .profile-content button[type="submit"],
body.photo-award-profile-page .profile-content .ui.button.primary,
body.photo-award-profile-page .profile-content .bundle-buy-btn,
body.photo-award-profile-page .profile-content .open-login-budle {
    background: var(--pa-shell-accent);
    border-color: var(--pa-shell-accent);
    color: var(--pa-shell-on-accent);
}

body.photo-award-profile-page .profile-content .btn-secondary,
body.photo-award-profile-page .profile-content .button:not(.button-primary) {
    background: var(--pa-shell-surface);
    border-color: var(--pa-shell-line-strong);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .dashboard-empty-state,
body.photo-award-profile-page .no-entries,
body.photo-award-profile-page .no-events,
body.photo-award-profile-page .photo-award-bundles-empty {
    background: var(--pa-shell-soft);
    border-color: var(--pa-shell-line-strong);
    color: var(--pa-shell-muted);
}

body.photo-award-profile-page.photo-award-member-template-entries .entry-template {
    --pa-entry-surface: var(--pa-shell-surface);
    --pa-entry-surface-soft: var(--pa-shell-soft);
    --pa-entry-text: var(--pa-shell-ink);
    --pa-entry-muted: var(--pa-shell-muted);
    --pa-entry-accent: var(--pa-shell-accent);
    --pa-entry-line: var(--pa-shell-line);
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-proofing .entry-page-header {
    background: linear-gradient(135deg, #e7fbff 0%, #fff7ed 54%, #f3e8ff 100%);
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-timeline .entry-page-header {
    background: linear-gradient(90deg, #fff7ed 0%, #ffedd5 50%, #ffffff 50%, #ffffff 100%);
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-archive .entry-page-header {
    border-left: 6px solid var(--pa-shell-accent);
}

body.photo-award-profile-page.photo-award-member-template-entries.photo-award-entries-template-editorial .entry-page-header {
    border-top: 5px solid var(--pa-shell-accent);
}

@media (max-width: 980px) {
    body.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .photo-award-profile-container,
    body.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .photo-award-profile-container {
        grid-template-columns: 1fr;
    }

    body.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .profile-sidebar,
    body.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .profile-sidebar {
        position: static;
    }

    body.photo-award-profile-page.photo-award-member-template-dashboard:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-signal) .profile-nav ul,
    body.photo-award-profile-page.photo-award-member-template-entries:is(.photo-award-entries-template-archive, .photo-award-entries-template-proofing) .profile-nav ul {
        grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    }
}

@media (max-width: 640px) {
    body.photo-award-profile-page .photo-award-profile-main {
        padding: 14px 10px;
    }

    body.photo-award-profile-page .profile-content {
        --pa-shell-content-pad: 18px;
    }

    body.photo-award-profile-page .profile-user-info {
        align-items: flex-start;
        flex-direction: column;
    }

    body.photo-award-profile-page .profile-nav ul {
        grid-template-columns: 1fr;
    }
}

/* ===== DASHBOARD TEMPLATE MENU LOCK ===== */
body.photo-award-profile-page.photo-award-dashboard-template-cinematic,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-cinematic {
    --pa-shell-page-bg: #080b10;
    --pa-shell-surface: #111820;
    --pa-shell-surface-2: #151d27;
    --pa-shell-soft: #0d1117;
    --pa-shell-line: #2b3440;
    --pa-shell-line-strong: #465363;
    --pa-shell-ink: #f8fafc;
    --pa-shell-muted: #aeb9c7;
    --pa-shell-accent: #e0b057;
    --pa-shell-accent-2: #38bdf8;
    --pa-shell-accent-3: #f97316;
    --pa-shell-on-accent: #121212;
    --pa-shell-radius: 8px;
    --pa-shell-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
}

body.photo-award-profile-page.photo-award-dashboard-template-studio,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-studio {
    --pa-shell-page-bg: #f3f6f8;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f8fafc;
    --pa-shell-soft: #e8f0f3;
    --pa-shell-line: #d9e2ea;
    --pa-shell-line-strong: #b7c7d4;
    --pa-shell-ink: #17202a;
    --pa-shell-muted: #64748b;
    --pa-shell-accent: #0f766e;
    --pa-shell-accent-2: #2563eb;
    --pa-shell-accent-3: #d97706;
    --pa-shell-on-accent: #ffffff;
}

body.photo-award-profile-page.photo-award-dashboard-template-curator,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-curator {
    --pa-shell-page-bg: #f6f7ef;
    --pa-shell-surface: #fbfbf7;
    --pa-shell-surface-2: #ffffff;
    --pa-shell-soft: #eef7f1;
    --pa-shell-line: #d8dfd6;
    --pa-shell-line-strong: #b7c7b6;
    --pa-shell-ink: #18221d;
    --pa-shell-muted: #637067;
    --pa-shell-accent: #317a55;
    --pa-shell-accent-2: #b8872e;
    --pa-shell-accent-3: #7c3aed;
    --pa-shell-on-accent: #ffffff;
}

body.photo-award-profile-page.photo-award-dashboard-template-signal,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-signal {
    --pa-shell-page-bg: #ffffff;
    --pa-shell-surface: #f7f8fb;
    --pa-shell-surface-2: #ffffff;
    --pa-shell-soft: #eef2f7;
    --pa-shell-line: #1f2937;
    --pa-shell-line-strong: #111827;
    --pa-shell-ink: #111827;
    --pa-shell-muted: #4b5563;
    --pa-shell-accent: #c2410c;
    --pa-shell-accent-2: #2563eb;
    --pa-shell-accent-3: #16a34a;
    --pa-shell-on-accent: #ffffff;
    --pa-shell-radius: 2px;
    --pa-shell-shadow: none;
}

body.photo-award-profile-page.photo-award-dashboard-template-aurora,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-aurora {
    --pa-shell-page-bg: #f8fbff;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f9fdff;
    --pa-shell-soft: #eff9fb;
    --pa-shell-line: #c8e7f4;
    --pa-shell-line-strong: #8bd6ea;
    --pa-shell-ink: #152033;
    --pa-shell-muted: #5d6f82;
    --pa-shell-accent: #0891b2;
    --pa-shell-accent-2: #f97316;
    --pa-shell-accent-3: #8b5cf6;
    --pa-shell-on-accent: #ffffff;
}

body.photo-award-profile-page.photo-award-dashboard-template-noir,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-noir {
    --pa-shell-page-bg: #070707;
    --pa-shell-surface: #101012;
    --pa-shell-surface-2: #161616;
    --pa-shell-soft: #181818;
    --pa-shell-line: #3b321f;
    --pa-shell-line-strong: #725a24;
    --pa-shell-ink: #f7f2e7;
    --pa-shell-muted: #c9bd9b;
    --pa-shell-accent: #c79a2b;
    --pa-shell-accent-2: #f7f2e7;
    --pa-shell-accent-3: #9b7418;
    --pa-shell-on-accent: #08080a;
    --pa-shell-radius: 0;
    --pa-shell-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

body.photo-award-profile-page.photo-award-dashboard-template-prism,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-prism {
    --pa-shell-page-bg: #f7f9ff;
    --pa-shell-surface: #ffffff;
    --pa-shell-surface-2: #f6f8ff;
    --pa-shell-soft: #eef4ff;
    --pa-shell-line: #dbe4ff;
    --pa-shell-line-strong: #bfdbfe;
    --pa-shell-ink: #15142b;
    --pa-shell-muted: #5c6074;
    --pa-shell-accent: #2563eb;
    --pa-shell-accent-2: #f97316;
    --pa-shell-accent-3: #22c55e;
    --pa-shell-on-accent: #ffffff;
}

body.photo-award-profile-page.photo-award-dashboard-template-royal,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-royal {
    --pa-shell-page-bg: #101827;
    --pa-shell-surface: #fffaf0;
    --pa-shell-surface-2: #f7efdd;
    --pa-shell-soft: #f1ead8;
    --pa-shell-line: #d8c394;
    --pa-shell-line-strong: #b8872e;
    --pa-shell-ink: #141b2d;
    --pa-shell-muted: #6b6254;
    --pa-shell-accent: #b8872e;
    --pa-shell-accent-2: #141b2d;
    --pa-shell-accent-3: #6f4d18;
    --pa-shell-on-accent: #101827;
    --pa-shell-shadow: 0 22px 50px rgba(4, 9, 18, 0.22);
}

body.photo-award-profile-page.photo-award-dashboard-template-lumen,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-lumen {
    --pa-shell-page-bg: #f4fbf8;
    --pa-shell-surface: rgba(255, 255, 255, 0.92);
    --pa-shell-surface-2: #ffffff;
    --pa-shell-soft: #e8f7f1;
    --pa-shell-line: #c9eadc;
    --pa-shell-line-strong: #8bd6c2;
    --pa-shell-ink: #16322c;
    --pa-shell-muted: #60746f;
    --pa-shell-accent: #0f9f8f;
    --pa-shell-accent-2: #e4576e;
    --pa-shell-accent-3: #4f46e5;
    --pa-shell-on-accent: #ffffff;
    --pa-shell-radius: 8px;
    --pa-shell-shadow: 0 18px 48px rgba(17, 93, 78, 0.12);
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas,
body.photo-award-profile-page .photo-award-profile-container.photo-award-dashboard-template-atlas {
    --pa-shell-page-bg: #101419;
    --pa-shell-surface: #f5f7f8;
    --pa-shell-surface-2: #ffffff;
    --pa-shell-soft: #e7ecef;
    --pa-shell-line: #c7d0d6;
    --pa-shell-line-strong: #7d8b96;
    --pa-shell-ink: #18212a;
    --pa-shell-muted: #5f6d78;
    --pa-shell-accent: #3f6f8f;
    --pa-shell-accent-2: #9f7aea;
    --pa-shell-accent-3: #e0a22f;
    --pa-shell-on-accent: #ffffff;
    --pa-shell-radius: 6px;
    --pa-shell-shadow: 0 22px 48px rgba(5, 10, 16, 0.18);
}

body.photo-award-profile-page {
    background: var(--pa-shell-page-bg) !important;
}

body.photo-award-profile-page .wp-site-blocks,
body.photo-award-profile-page .site,
body.photo-award-profile-page .site-content,
body.photo-award-profile-page .ast-container,
body.photo-award-profile-page .entry-content,
body.photo-award-profile-page .wp-block-post-content,
body.photo-award-profile-page .photo-award-profile-main {
    background: var(--pa-shell-page-bg) !important;
}

body.photo-award-profile-page .photo-award-profile-container {
    grid-template-columns: 1fr;
}

body.photo-award-profile-page .profile-sidebar {
    position: static;
}

body.photo-award-profile-page .profile-nav ul {
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

body.photo-award-profile-page .profile-nav a {
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--pa-shell-line);
}

body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .photo-award-profile-container {
    --pa-shell-width: 1260px;
    grid-template-columns: minmax(230px, 282px) minmax(0, 1fr);
    align-items: start;
}

body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-sidebar {
    position: sticky;
    top: 34px;
}

body.admin-bar.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-sidebar {
    top: 66px;
}

body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-user-info {
    display: block;
}

body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-user-info h3 {
    margin-bottom: 6px;
}

body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-nav ul {
    grid-template-columns: 1fr;
}

body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-nav a {
    justify-content: flex-start;
    text-align: left;
    border-right: 0;
}

body.photo-award-profile-page.photo-award-dashboard-template-lumen .profile-nav,
body.photo-award-profile-page.photo-award-dashboard-template-lumen .profile-user-info,
body.photo-award-profile-page.photo-award-dashboard-template-lumen .profile-content {
    backdrop-filter: blur(10px);
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas .profile-user-info,
body.photo-award-profile-page.photo-award-dashboard-template-atlas .profile-nav {
    background: #151c24;
    border-color: #2c3742;
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas .profile-user-info h3,
body.photo-award-profile-page.photo-award-dashboard-template-atlas .profile-user-info p,
body.photo-award-profile-page.photo-award-dashboard-template-atlas .profile-nav a {
    color: #edf2f6;
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas .profile-nav a:hover {
    background: #202b36;
    color: #ffffff;
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas .profile-nav li.active a {
    background: var(--pa-shell-accent);
    color: #ffffff;
}

body.photo-award-profile-page.photo-award-dashboard-template-lumen .dashboard-hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, #e8f7f1 52%, #eef2ff 100%);
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas .dashboard-hero {
    background: linear-gradient(135deg, #18212a 0%, #2a3640 100%);
    color: #f5f7f8;
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas .dashboard-hero h1 {
    color: #ffffff;
}

body.photo-award-profile-page.photo-award-dashboard-template-atlas .dashboard-hero p {
    color: #c7d0d6;
}

/* ===== GLOBAL THEME LOCK FOR MEMBER ENTRY FORMS ===== */
body.photo-award-profile-page.photo-award-global-template-prestige-gold {
    --pa-theme-page-bg: #f8f6f0;
    --pa-theme-surface: #ffffff;
    --pa-theme-surface-2: #fbf6e8;
    --pa-theme-soft: #f2ead7;
    --pa-theme-line: #e8dfc7;
    --pa-theme-line-strong: #c79a2b;
    --pa-theme-ink: #171717;
    --pa-theme-muted: #625d52;
    --pa-theme-accent: #c79a2b;
    --pa-theme-accent-2: #0b0b0d;
    --pa-theme-on-accent: #0b0b0d;
    --pa-theme-shadow: 0 20px 46px rgba(20, 18, 12, 0.12);
}

body.photo-award-profile-page.photo-award-global-template-midnight-cinema {
    --pa-theme-page-bg: #080b10;
    --pa-theme-surface: #111820;
    --pa-theme-surface-2: #151d27;
    --pa-theme-soft: #0d1117;
    --pa-theme-line: #2b3440;
    --pa-theme-line-strong: #465363;
    --pa-theme-ink: #f8fafc;
    --pa-theme-muted: #aeb9c7;
    --pa-theme-accent: #e0b057;
    --pa-theme-accent-2: #38bdf8;
    --pa-theme-on-accent: #121212;
    --pa-theme-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
}

body.photo-award-profile-page.photo-award-global-template-gallery-curator {
    --pa-theme-page-bg: #f6f7ef;
    --pa-theme-surface: #fbfbf7;
    --pa-theme-surface-2: #ffffff;
    --pa-theme-soft: #eef7f1;
    --pa-theme-line: #d8dfd6;
    --pa-theme-line-strong: #b7c7b6;
    --pa-theme-ink: #18221d;
    --pa-theme-muted: #637067;
    --pa-theme-accent: #317a55;
    --pa-theme-accent-2: #b8872e;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: 0 18px 44px rgba(34, 64, 47, 0.12);
}

body.photo-award-profile-page.photo-award-global-template-signal-ops {
    --pa-theme-page-bg: #ffffff;
    --pa-theme-surface: #f7f8fb;
    --pa-theme-surface-2: #ffffff;
    --pa-theme-soft: #eef2f7;
    --pa-theme-line: #1f2937;
    --pa-theme-line-strong: #111827;
    --pa-theme-ink: #111827;
    --pa-theme-muted: #4b5563;
    --pa-theme-accent: #c2410c;
    --pa-theme-accent-2: #2563eb;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: none;
}

body.photo-award-profile-page.photo-award-global-template-gala-prism {
    --pa-theme-page-bg: #faf4f4;
    --pa-theme-surface: #fffafa;
    --pa-theme-surface-2: #fff3f3;
    --pa-theme-soft: #f7e7dc;
    --pa-theme-line: #ead8dc;
    --pa-theme-line-strong: #c89d42;
    --pa-theme-ink: #241016;
    --pa-theme-muted: #685861;
    --pa-theme-accent: #8f2f45;
    --pa-theme-accent-2: #c89d42;
    --pa-theme-on-accent: #ffffff;
    --pa-theme-shadow: 0 20px 46px rgba(62, 21, 32, 0.12);
}

body.photo-award-profile-page {
    background: var(--pa-theme-page-bg, var(--pa-shell-page-bg)) !important;
}

body.photo-award-profile-page .wp-site-blocks,
body.photo-award-profile-page .site,
body.photo-award-profile-page .site-content,
body.photo-award-profile-page .ast-container,
body.photo-award-profile-page .entry-content,
body.photo-award-profile-page .wp-block-post-content,
body.photo-award-profile-page .photo-award-profile-main {
    background: var(--pa-theme-page-bg, var(--pa-shell-page-bg)) !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-global-template-prestige-gold,
body.photo-award-profile-page .photo-award-profile-container.photo-award-global-template-midnight-cinema,
body.photo-award-profile-page .photo-award-profile-container.photo-award-global-template-gallery-curator,
body.photo-award-profile-page .photo-award-profile-container.photo-award-global-template-signal-ops,
body.photo-award-profile-page .photo-award-profile-container.photo-award-global-template-gala-prism,
body.photo-award-profile-page .photo-award-profile-container .entry-template,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .event-registration-container[class*="photo-award-entries-template-"] {
    --pa-shell-page-bg: var(--pa-theme-page-bg, var(--pa-shell-page-bg));
    --pa-shell-surface: var(--pa-theme-surface, var(--pa-shell-surface));
    --pa-shell-surface-2: var(--pa-theme-surface-2, var(--pa-shell-surface-2));
    --pa-shell-soft: var(--pa-theme-soft, var(--pa-shell-soft));
    --pa-shell-line: var(--pa-theme-line, var(--pa-shell-line));
    --pa-shell-line-strong: var(--pa-theme-line-strong, var(--pa-shell-line-strong));
    --pa-shell-ink: var(--pa-theme-ink, var(--pa-shell-ink));
    --pa-shell-muted: var(--pa-theme-muted, var(--pa-shell-muted));
    --pa-shell-accent: var(--pa-theme-accent, var(--pa-shell-accent));
    --pa-shell-accent-2: var(--pa-theme-accent-2, var(--pa-shell-accent-2));
    --pa-shell-on-accent: var(--pa-theme-on-accent, var(--pa-shell-on-accent));
    --pa-shell-shadow: var(--pa-theme-shadow, var(--pa-shell-shadow));
}

body.photo-award-profile-page .photo-award-profile-container .entry-page-header {
    background: linear-gradient(135deg, var(--pa-shell-surface) 0%, var(--pa-shell-surface-2) 100%) !important;
    border-color: var(--pa-shell-line);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .photo-award-profile-container .entry-page-header h1 {
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .photo-award-profile-container .entry-page-header p {
    color: var(--pa-shell-muted);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell {
    background: var(--pa-shell-surface);
    border-color: var(--pa-shell-line);
    box-shadow: var(--pa-shell-shadow);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .event-registration-container[class*="photo-award-entries-template-"],
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form {
    background: var(--pa-shell-surface) !important;
    color: var(--pa-shell-ink);
    border-color: var(--pa-shell-line);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .inline.fields {
    background: transparent;
    border-bottom-color: var(--pa-shell-line);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form label,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .field > label,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .field-topics-price-container {
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form input[type="text"],
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form input[type="number"],
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form input[type="file"],
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form select,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form textarea {
    background: var(--pa-shell-surface-2);
    border-color: var(--pa-shell-line);
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form input::placeholder,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form textarea::placeholder,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .topic-selection-info,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .upload-help,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .upload-instructions {
    color: var(--pa-shell-muted);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .ui.radio.checkbox,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .ui.checkbox,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .ui.radio.checkbox label,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .ui.checkbox label,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .topic-checkbox-group label {
    color: var(--pa-shell-ink);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .topic-checkbox-group,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .image-upload-area,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .series-upload-container,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .entry-type-info {
    background: var(--pa-shell-surface-2);
    border: 1px solid var(--pa-shell-line);
    border-radius: var(--pa-shell-radius);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .field.field-topics {
    border: 0;
    border-bottom: 1px solid var(--pa-shell-line);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .field-topics-container {
    border-bottom-color: var(--pa-shell-line);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .price-value,
body.photo-award-profile-page .photo-award-profile-container .entry-page-kicker {
    color: var(--pa-shell-accent);
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form button[type="submit"],
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .ui.button.primary {
    background: var(--pa-shell-accent);
    border-color: var(--pa-shell-accent);
    color: var(--pa-shell-on-accent);
}

@media (max-width: 980px) {
    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .photo-award-profile-container {
        grid-template-columns: 1fr;
    }

    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-sidebar {
        position: static;
    }

    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-nav ul {
        grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    }

    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-nav a {
        justify-content: center;
        text-align: center;
        border-right: 1px solid var(--pa-shell-line);
    }
}

/* ===== PHOTO AWARD RESPONSIVE STABILITY LAYER ===== */
.photo-award-profile-container,
.photo-award-profile-container *,
.event-registration-container,
.event-registration-container *,
.events-grid,
.events-grid *,
.event-gallery-container,
.event-gallery-container *,
.photo-award-credit-bundles,
.photo-award-credit-bundles *,
.photo-award-contact-form-wrapper,
.photo-award-contact-form-wrapper *,
.photo-award-judging-scope,
.photo-award-judging-scope * {
    box-sizing: border-box;
}

.photo-award-profile-container,
.event-registration-container,
.event-gallery-container,
.photo-award-credit-bundles,
.photo-award-contact-form-wrapper,
.auth-modal-container {
    max-width: min(100%, var(--pa-shell-width, 1240px));
}

.profile-content,
.dashboard-template,
.entry-template,
.event-registration-container,
.judge-scoring-page,
.photo-award-judging-scope,
.event-gallery-container,
.photo-award-contact-form-wrapper {
    min-width: 0;
    overflow-wrap: anywhere;
}

.profile-content img,
.dashboard-template img,
.entry-template img,
.event-registration-container img,
.event-gallery-container img,
.photo-award-judging-scope img,
.photo-award-contact-form-wrapper img {
    max-width: 100%;
    height: auto;
}

.photo-award-profile-container table,
.entry-template table,
.event-registration-container table,
.photo-award-judging-scope table,
.wallet-transactions-table,
.user-entries-table,
.original-file-requests-table {
    width: 100%;
    max-width: 100%;
}

.profile-content .table-scroll,
.photo-award-profile-container .wallet-transactions-section,
.photo-award-profile-container .entries-list-container,
.original-file-requests-container,
.photo-award-judging-scope .scores-list,
.photo-award-judging-scope .scoring-history {
    min-width: 0;
    overflow-x: auto;
}

.profile-content input,
.profile-content select,
.profile-content textarea,
.entry-template input,
.entry-template select,
.entry-template textarea,
.event-registration-container input,
.event-registration-container select,
.event-registration-container textarea,
.photo-award-contact-form input,
.photo-award-contact-form select,
.photo-award-contact-form textarea,
.auth-form input,
.auth-form select,
.auth-form textarea {
    max-width: 100%;
}

@media (max-width: 1200px) {
    body.photo-award-profile-page .photo-award-profile-container,
    .event-registration-container,
    .event-gallery-container,
    .photo-award-contact-form-wrapper {
        width: calc(100% - 32px);
        margin-left: auto;
        margin-right: auto;
    }

    .dashboard-stats-pro,
    .stats-grid,
    .events-grid,
    .photo-award-credit-bundles .bundles-grid,
    .topics-grid,
    .scoring-events-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    body.photo-award-profile-page .photo-award-profile-container,
    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .photo-award-profile-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding-left: 16px;
        padding-right: 16px;
    }

    body.photo-award-profile-page .profile-sidebar,
    body.admin-bar.photo-award-profile-page .profile-sidebar,
    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-sidebar {
        position: static;
        top: auto;
        width: 100%;
    }

    body.photo-award-profile-page .profile-nav ul,
    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-nav ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
        gap: 8px;
    }

    body.photo-award-profile-page .profile-nav a,
    body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .profile-nav a {
        justify-content: center;
        text-align: center;
        min-height: 42px;
        padding: 10px 12px;
        white-space: normal;
    }

    .dashboard-hero,
    .entry-page-header,
    .scoring-header,
    .event-card-wide,
    .event-card-content,
    .entry-row,
    .score-item,
    .topic-card {
        grid-template-columns: 1fr;
    }

    .dashboard-hero,
    .entry-page-header,
    .scoring-header {
        gap: 16px;
        text-align: left;
    }

    .dashboard-hero-actions,
    .entry-page-actions,
    .event-actions,
    .entry-actions,
    .entry-row-actions,
    .scoring-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .dashboard-stats-pro,
    .stats-grid,
    .events-grid,
    .photo-award-credit-bundles .bundles-grid,
    .topics-grid,
    .scoring-events-list,
    .score-buttons {
        grid-template-columns: 1fr;
    }

    .event-registration-container,
    .embedded-entry-form-shell,
    .photo-award-credit-bundles,
    .original-file-requests-container,
    .judge-scoring-page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .event-registration-container .form-row,
    #event-registration-form .form-row,
    .photo-award-contact-form,
    .auth-form .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .entry-row {
        align-items: stretch;
    }

    .entry-row-image {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }

    .entry-row-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 782px) {
    body.photo-award-profile-page .photo-award-profile-container,
    .event-registration-container,
    .event-gallery-container,
    .photo-award-contact-form-wrapper {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .profile-content,
    .profile-sidebar,
    .profile-nav,
    .profile-user-info,
    .dashboard-hero,
    .dashboard-card,
    .stat-card,
    .event-card-wide,
    .entry-row,
    .event-registration-container,
    .embedded-entry-form-shell,
    .original-file-requests-container,
    .photo-award-credit-bundles,
    .bundle-card,
    .photo-award-contact-form-wrapper,
    .auth-modal-container,
    .photo-award-judging-scope .profile-content,
    .judge-scoring-page,
    .scoring-header,
    .topic-card,
    .score-item {
        border-radius: min(var(--pa-shell-radius, 10px), 10px);
    }

    .profile-content {
        padding: 16px;
    }

    .dashboard-hero {
        padding: 22px;
    }

    .dashboard-hero h1,
    .entry-page-header h1,
    .event-registration-container > .event-title,
    .scoring-header h1 {
        font-size: 26px;
        line-height: 1.18;
    }

    .dashboard-hero p,
    .entry-page-header p,
    .event-registration-container > .event-subtitle {
        font-size: 15px;
    }

    .profile-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.photo-award-profile-page .profile-nav ul {
        display: flex;
        gap: 8px;
        min-width: max-content;
    }

    body.photo-award-profile-page .profile-nav li {
        flex: 0 0 auto;
    }

    body.photo-award-profile-page .profile-nav a {
        min-width: 132px;
    }

    .photo-award-profile-container table,
    .entry-template table,
    .event-registration-container table,
    .photo-award-judging-scope table,
    .wallet-transactions-table,
    .user-entries-table,
    .original-file-requests-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .certificate-links,
    .entry-row-certificates,
    .entry-row-certificates-awards,
    .event-badges,
    .score-buttons {
        flex-wrap: wrap;
    }

    .auth-modal {
        padding: 12px;
    }

    .auth-modal-container {
        width: 100%;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }
}

@media (max-width: 600px) {
    .profile-content,
    .dashboard-hero,
    .entry-template,
    .entry-page-header,
    .event-card-content,
    .event-registration-container,
    .embedded-entry-form-shell,
    .original-file-requests-container,
    .photo-award-credit-bundles,
    .photo-award-contact-form-wrapper,
    .judge-scoring-page,
    .scoring-header,
    .topic-card,
    .score-item {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dashboard-hero-actions .button,
    .dashboard-hero-actions .btn,
    .entry-page-actions .button,
    .entry-page-actions .btn,
    .event-actions .button,
    .event-actions .btn,
    .entry-actions .button,
    .entry-actions .btn,
    .profile-content .button,
    .profile-content .btn,
    .photo-award-credit-bundles .bundle-buy-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .photo-award-contact-form .contact-submit-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .entry-row-details,
    .event-details,
    .topic-stats,
    .score-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #event-registration-form input[type="file"] {
        width: 100%;
        min-width: 0;
    }

    .score-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(52px, 1fr));
    }
}

@media (max-width: 480px) {
    body.photo-award-profile-page .profile-nav a {
        min-width: 118px;
        padding: 9px 10px;
        font-size: 13px;
    }

    .dashboard-hero h1,
    .entry-page-header h1,
    .event-registration-container > .event-title,
    .scoring-header h1 {
        font-size: 22px;
    }

    .dashboard-stats-pro .stat-card strong,
    .stats-grid .stat-card strong,
    .wallet-balance-amount {
        font-size: 28px;
    }

    .profile-content,
    .dashboard-hero,
    .event-registration-container,
    .embedded-entry-form-shell,
    .photo-award-contact-form-wrapper,
    .auth-form {
        padding: 14px;
    }

    .certificate-award-item,
    .certificate-link,
    .raw-request-link,
    .request-raw-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Final cascade lock for the Plugin Theme handoff.
   Keep this block at the end so the five redesigned atmospheres win. */
body.photo-award-global-template-prestige-gold,
body.photo-award-profile-page.photo-award-global-template-prestige-gold {
    --pa-theme-page-bg: #efece4 !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #e7e2d4 !important;
    --pa-theme-soft: #f3efdf !important;
    --pa-theme-line: #0a0a0a !important;
    --pa-theme-line-strong: #0a0a0a !important;
    --pa-theme-ink: #0a0a0a !important;
    --pa-theme-muted: #555555 !important;
    --pa-theme-accent: #b88a2e !important;
    --pa-theme-accent-2: #d44b00 !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 6px 6px 0 #0a0a0a !important;
    --pa-theme-radius: 0px !important;
    --pa-theme-display: "Archivo Black", "Arial Black", system-ui, sans-serif !important;
    --pa-theme-body: "Space Grotesk", Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "Space Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-gallery-curator,
body.photo-award-profile-page.photo-award-global-template-gallery-curator {
    --pa-theme-page-bg: #f6f6f3 !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #eeeeea !important;
    --pa-theme-soft: #f9f9f6 !important;
    --pa-theme-line: #151515 !important;
    --pa-theme-line-strong: #0a0a0a !important;
    --pa-theme-ink: #0a0a0a !important;
    --pa-theme-muted: #555555 !important;
    --pa-theme-accent: #0a0a0a !important;
    --pa-theme-accent-2: #3a3a3a !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 0 18px 42px rgba(0, 0, 0, 0.08) !important;
    --pa-theme-radius: 2px !important;
    --pa-theme-display: "Libre Baskerville", Georgia, serif !important;
    --pa-theme-body: "Helvetica Neue", Arial, system-ui, sans-serif !important;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-midnight-cinema,
body.photo-award-profile-page.photo-award-global-template-midnight-cinema {
    --pa-theme-page-bg: #000000 !important;
    --pa-theme-surface: #0a0a0a !important;
    --pa-theme-surface-2: #141414 !important;
    --pa-theme-soft: #101010 !important;
    --pa-theme-line: #2a2a2a !important;
    --pa-theme-line-strong: #d4ff00 !important;
    --pa-theme-ink: #fafafa !important;
    --pa-theme-muted: #b8b8b8 !important;
    --pa-theme-accent: #d4ff00 !important;
    --pa-theme-accent-2: #fafafa !important;
    --pa-theme-on-accent: #000000 !important;
    --pa-theme-shadow: 0 30px 80px rgba(0, 0, 0, 0.8) !important;
    --pa-theme-radius: 0px !important;
    --pa-theme-display: "Big Shoulders Display", Impact, system-ui, sans-serif !important;
    --pa-theme-body: Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "JetBrains Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-signal-ops,
body.photo-award-profile-page.photo-award-global-template-signal-ops {
    --pa-theme-page-bg: #f3f8ff !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #e7f0ff !important;
    --pa-theme-soft: #f8fbff !important;
    --pa-theme-line: #c4d8f7 !important;
    --pa-theme-line-strong: #0b5fff !important;
    --pa-theme-ink: #082044 !important;
    --pa-theme-muted: #4f668c !important;
    --pa-theme-accent: #0b5fff !important;
    --pa-theme-accent-2: #003a8c !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 0 18px 46px rgba(11, 95, 255, 0.12) !important;
    --pa-theme-radius: 8px !important;
    --pa-theme-display: "IBM Plex Sans Condensed", "Arial Narrow", Inter, system-ui, sans-serif !important;
    --pa-theme-body: "IBM Plex Sans", Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace !important;
}

body.photo-award-global-template-gala-prism,
body.photo-award-profile-page.photo-award-global-template-gala-prism {
    --pa-theme-page-bg: #fff7f8 !important;
    --pa-theme-surface: #ffffff !important;
    --pa-theme-surface-2: #ffe6e9 !important;
    --pa-theme-soft: #fffafb !important;
    --pa-theme-line: #f0c4c8 !important;
    --pa-theme-line-strong: #c8102e !important;
    --pa-theme-ink: #26080c !important;
    --pa-theme-muted: #7a3943 !important;
    --pa-theme-accent: #c8102e !important;
    --pa-theme-accent-2: #7a0019 !important;
    --pa-theme-on-accent: #ffffff !important;
    --pa-theme-shadow: 0 22px 52px rgba(200, 16, 46, 0.12) !important;
    --pa-theme-radius: 10px !important;
    --pa-theme-display: Merriweather, Georgia, serif !important;
    --pa-theme-body: "Source Sans 3", "Segoe UI", Inter, system-ui, sans-serif !important;
    --pa-theme-mono: "IBM Plex Mono", ui-monospace, monospace !important;
}

body.photo-award-profile-page .photo-award-profile-container {
    width: 75vw !important;
    max-width: 75vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body[class*="photo-award-global-template-"].photo-award-profile-page,
body[class*="photo-award-global-template-"].photo-award-event-submission-page {
    background: var(--pa-theme-page-bg) !important;
    color: var(--pa-theme-ink) !important;
}

body[class*="photo-award-global-template-"] .photo-award-profile-container,
body[class*="photo-award-global-template-"] .dashboard-template,
body[class*="photo-award-global-template-"] .entry-template,
body[class*="photo-award-global-template-"] .event-registration-container,
body[class*="photo-award-global-template-"] .single-entry-container,
body[class*="photo-award-global-template-"] .photo-award-daily-photos {
    font-family: var(--pa-theme-body) !important;
}

body[class*="photo-award-global-template-"] .photo-award-profile-container,
body[class*="photo-award-global-template-"] .profile-sidebar,
body[class*="photo-award-global-template-"] .profile-content,
body[class*="photo-award-global-template-"] .dashboard-hero,
body[class*="photo-award-global-template-"] .dashboard-panel,
body[class*="photo-award-global-template-"] .stat-card,
body[class*="photo-award-global-template-"] .entry-page-header,
body[class*="photo-award-global-template-"] .entry-row,
body[class*="photo-award-global-template-"] .event-card-wide,
body[class*="photo-award-global-template-"] .embedded-entry-form-shell,
body[class*="photo-award-global-template-"] .event-registration-container,
body[class*="photo-award-global-template-"] .event-registration-container #event-registration-form,
body[class*="photo-award-global-template-"] .single-entry-container,
body[class*="photo-award-global-template-"] .single-entry-container .entry-details,
body[class*="photo-award-global-template-"] .single-entry-container .entry-images,
body[class*="photo-award-global-template-"] .photo-award-daily-card {
    background: var(--pa-theme-surface) !important;
    border-color: var(--pa-theme-line) !important;
    border-radius: var(--pa-theme-radius) !important;
    color: var(--pa-theme-ink) !important;
    box-shadow: var(--pa-theme-shadow) !important;
}

body[class*="photo-award-global-template-"] .dashboard-hero h1,
body[class*="photo-award-global-template-"] .entry-page-header h1,
body[class*="photo-award-global-template-"] .profile-content h1,
body[class*="photo-award-global-template-"] .profile-content h2,
body[class*="photo-award-global-template-"] .dashboard-panel h2,
body[class*="photo-award-global-template-"] .single-entry-container .entry-title,
body[class*="photo-award-global-template-"] .single-entry-container h3,
body[class*="photo-award-global-template-"] .stat-number,
body[class*="photo-award-global-template-"] .photo-award-daily-photos__header h2 {
    color: var(--pa-theme-ink) !important;
    font-family: var(--pa-theme-display) !important;
}

body[class*="photo-award-global-template-"] .profile-nav a,
body[class*="photo-award-global-template-"] .btn,
body[class*="photo-award-global-template-"] .button,
body[class*="photo-award-global-template-"] .btn-primary,
body[class*="photo-award-global-template-"] .btn-secondary,
body[class*="photo-award-global-template-"] #event-registration-form button,
body[class*="photo-award-global-template-"] .single-entry-container .action-btn,
body[class*="photo-award-global-template-"] input[type="submit"] {
    border-radius: var(--pa-theme-radius) !important;
    font-family: var(--pa-theme-body) !important;
    font-weight: 800 !important;
}

body[class*="photo-award-global-template-"] .profile-nav li.active a,
body[class*="photo-award-global-template-"] .profile-nav a:hover,
body[class*="photo-award-global-template-"] .btn-primary,
body[class*="photo-award-global-template-"] #event-registration-form button[type="submit"],
body[class*="photo-award-global-template-"] .single-entry-container .action-btn,
body[class*="photo-award-global-template-"] input[type="submit"] {
    background: var(--pa-theme-accent) !important;
    border-color: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
}

body[class*="photo-award-global-template-"] input,
body[class*="photo-award-global-template-"] select,
body[class*="photo-award-global-template-"] textarea,
body[class*="photo-award-global-template-"] .field,
body[class*="photo-award-global-template-"] .inline.fields {
    background: var(--pa-theme-surface) !important;
    border-color: var(--pa-theme-line) !important;
    border-radius: var(--pa-theme-radius) !important;
    color: var(--pa-theme-ink) !important;
}

:root {
    --photo-award-header-offset: 0px;
}

body.photo-award-plugin-context .photo-award-profile-container,
body.photo-award-plugin-context .event-registration-container,
body.photo-award-plugin-context .single-entry-container,
body.photo-award-plugin-context .event-gallery-container,
body.photo-award-plugin-context .photo-award-contact-form,
body.photo-award-plugin-context .photo-award-daily-photos {
    margin-top: calc(var(--photo-award-header-offset, 0px) + 24px) !important;
    scroll-margin-top: calc(var(--photo-award-header-offset, 0px) + 24px) !important;
}

body.photo-award-plugin-context .profile-sidebar {
    top: calc(var(--photo-award-header-offset, 0px) + 24px) !important;
}

.photo-award-frontend-message,
.profile-message {
    padding: 12px 16px !important;
    margin: 0 0 16px !important;
    border-radius: 8px !important;
    border: 1px solid #b7e3c1 !important;
    background: #eefbf1 !important;
    color: #14532d !important;
    font-weight: 700 !important;
}

.photo-award-frontend-message.error,
.profile-message.error {
    border-color: #f3b4b4 !important;
    background: #fff1f1 !important;
    color: #7f1d1d !important;
}

.single-entry-container[class*="photo-award-global-template-"],
.single-entry-container[class*="photo-award-global-template-"] .entry-header,
.single-entry-container[class*="photo-award-global-template-"] .detail-section,
.single-entry-container[class*="photo-award-global-template-"] .entry-images,
.single-entry-container[class*="photo-award-global-template-"] .entry-actions,
.event-registration-container[class*="photo-award-global-template-"].entry-edit-unavailable,
.event-registration-container[class*="photo-award-global-template-"].entry-edit-unavailable .ui.message {
    background: var(--pa-theme-surface) !important;
    border: 1px solid var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
    box-shadow: var(--pa-theme-shadow) !important;
}

.single-entry-container[class*="photo-award-global-template-"] .detail-section,
.single-entry-container[class*="photo-award-global-template-"] .entry-actions,
.single-entry-container[class*="photo-award-global-template-"] .entry-meta span {
    background: var(--pa-theme-surface-2) !important;
}

.single-entry-container[class*="photo-award-global-template-"] .entry-title,
.single-entry-container[class*="photo-award-global-template-"] h1,
.single-entry-container[class*="photo-award-global-template-"] h2,
.single-entry-container[class*="photo-award-global-template-"] h3,
.single-entry-container[class*="photo-award-global-template-"] p,
.single-entry-container[class*="photo-award-global-template-"] strong,
.single-entry-container[class*="photo-award-global-template-"] .entry-meta span,
.event-registration-container[class*="photo-award-global-template-"].entry-edit-unavailable,
.event-registration-container[class*="photo-award-global-template-"].entry-edit-unavailable p {
    color: var(--pa-theme-ink) !important;
}

.single-entry-container[class*="photo-award-global-template-"] svg {
    color: var(--pa-theme-muted) !important;
    stroke: currentColor !important;
}

.single-entry-container[class*="photo-award-global-template-"] .action-btn,
.event-registration-container[class*="photo-award-global-template-"].entry-edit-unavailable .action-btn {
    background: var(--pa-theme-accent) !important;
    border-color: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
}

.single-entry-container[class*="photo-award-global-template-"] .image-item {
    background: var(--pa-theme-surface-2) !important;
    border: 1px solid var(--pa-theme-line) !important;
}

.event-registration-container[class*="photo-award-global-template-"] .remove-existing-photo {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid var(--pa-theme-line) !important;
    border-radius: 999px !important;
    background: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

body[class*="photo-award-global-template-"] .profile-message.success,
.single-entry-container[class*="photo-award-global-template-"] .profile-message.success,
.event-registration-container[class*="photo-award-global-template-"] .ui.message.success,
.event-registration-container[class*="photo-award-global-template-"] .ui.message.info {
    background: var(--pa-theme-surface-2) !important;
    border-color: var(--pa-theme-accent) !important;
    color: var(--pa-theme-ink) !important;
}

body.photo-award-global-template-prestige-gold .profile-sidebar,
body.photo-award-global-template-prestige-gold .profile-content,
body.photo-award-global-template-prestige-gold .dashboard-hero,
body.photo-award-global-template-prestige-gold .dashboard-panel,
body.photo-award-global-template-prestige-gold .stat-card,
body.photo-award-global-template-prestige-gold .entry-row,
body.photo-award-global-template-prestige-gold .event-card-wide,
body.photo-award-global-template-prestige-gold .photo-award-daily-card {
    border-width: 2px !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .photo-award-profile-container,
body.photo-award-global-template-prestige-gold .photo-award-profile-container.photo-award-judging-scope {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .profile-sidebar,
body.photo-award-global-template-prestige-gold .photo-award-judging-scope .profile-sidebar {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
}

body.photo-award-global-template-prestige-gold.photo-award-member-template-judging .profile-nav ul,
body.photo-award-global-template-prestige-gold .photo-award-judging-scope .profile-nav ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)) !important;
    gap: 10px !important;
}

body.photo-award-global-template-gallery-curator .photo-award-profile-container,
body.photo-award-global-template-gallery-curator .profile-sidebar,
body.photo-award-global-template-gallery-curator .profile-content,
body.photo-award-global-template-gallery-curator .dashboard-hero,
body.photo-award-global-template-gallery-curator .dashboard-panel,
body.photo-award-global-template-gallery-curator .stat-card,
body.photo-award-global-template-gallery-curator .entry-page-header,
body.photo-award-global-template-gallery-curator .entry-row,
body.photo-award-global-template-gallery-curator .event-card-wide,
body.photo-award-global-template-gallery-curator .embedded-entry-form-shell,
body.photo-award-global-template-gallery-curator .event-registration-container,
body.photo-award-global-template-gallery-curator .event-registration-container #event-registration-form,
body.photo-award-global-template-gallery-curator .photo-award-daily-card {
    border-radius: 0 !important;
}

body.photo-award-global-template-gallery-curator .profile-nav a,
body.photo-award-global-template-gallery-curator .btn,
body.photo-award-global-template-gallery-curator .button,
body.photo-award-global-template-gallery-curator .btn-primary,
body.photo-award-global-template-gallery-curator .btn-secondary,
body.photo-award-global-template-gallery-curator #event-registration-form button,
body.photo-award-global-template-gallery-curator input[type="submit"],
body.photo-award-global-template-gallery-curator .event-registration-container .ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .ui.checkbox,
body.photo-award-global-template-gallery-curator .topic-checkbox {
    border-radius: 999px !important;
    text-transform: lowercase;
}

body.photo-award-global-template-midnight-cinema .profile-nav a,
body.photo-award-global-template-midnight-cinema .dashboard-panel small,
body.photo-award-global-template-midnight-cinema .entry-type-badge,
body.photo-award-global-template-midnight-cinema .type-badge {
    font-family: var(--pa-theme-mono) !important;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.photo-award-global-template-midnight-cinema .photo-award-profile-container,
body.photo-award-global-template-midnight-cinema .profile-sidebar,
body.photo-award-global-template-midnight-cinema .profile-content,
body.photo-award-global-template-midnight-cinema .dashboard-template,
body.photo-award-global-template-midnight-cinema .entry-template,
body.photo-award-global-template-midnight-cinema .event-registration-container,
body.photo-award-global-template-midnight-cinema .embedded-entry-form-shell {
    background: #0a0a0a !important;
    color: #fafafa !important;
    border-color: #2a2a2a !important;
}

body.photo-award-global-template-midnight-cinema input,
body.photo-award-global-template-midnight-cinema select,
body.photo-award-global-template-midnight-cinema textarea {
    background: #141414 !important;
    border-color: #2a2a2a !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema .profile-nav li.active a,
body.photo-award-global-template-midnight-cinema .profile-nav a:hover,
body.photo-award-global-template-midnight-cinema .btn-primary,
body.photo-award-global-template-midnight-cinema #event-registration-form button[type="submit"],
body.photo-award-global-template-midnight-cinema input[type="submit"] {
    background: #d4ff00 !important;
    color: #000000 !important;
    border-color: #d4ff00 !important;
}

body.photo-award-global-template-signal-ops .profile-content,
body.photo-award-global-template-signal-ops .dashboard-panel,
body.photo-award-global-template-signal-ops .entry-row,
body.photo-award-global-template-signal-ops .event-card-wide,
body.photo-award-global-template-signal-ops .photo-award-daily-card {
    border-top-width: 3px !important;
}

body.photo-award-global-template-signal-ops .dashboard-hero h1,
body.photo-award-global-template-signal-ops .entry-page-header h1,
body.photo-award-global-template-signal-ops .profile-content h1,
body.photo-award-global-template-signal-ops .profile-content h2 {
    font-style: italic;
}

body.photo-award-global-template-gala-prism .profile-sidebar {
    background: linear-gradient(145deg, #fffdf9 0%, var(--pa-theme-surface-2) 100%) !important;
}

body[class*="photo-award-global-template-"] .event-registration-container .inline.fields,
body[class*="photo-award-global-template-"] .event-registration-container .field,
body[class*="photo-award-global-template-"] .event-registration-container .ui.radio.checkbox,
body[class*="photo-award-global-template-"] .event-registration-container .ui.checkbox,
body[class*="photo-award-global-template-"] .topic-checkbox {
    min-height: 48px !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--pa-theme-surface-2) !important;
    border: 1px solid var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
}

body[class*="photo-award-global-template-"] .event-registration-container .ui.radio.checkbox label,
body[class*="photo-award-global-template-"] .event-registration-container .ui.checkbox label,
body[class*="photo-award-global-template-"] .topic-checkbox label {
    color: var(--pa-theme-ink) !important;
    font-family: var(--pa-theme-body) !important;
    line-height: 1.35 !important;
}

body[class*="photo-award-global-template-"] .event-registration-container input[type="radio"],
body[class*="photo-award-global-template-"] .event-registration-container input[type="checkbox"] {
    accent-color: var(--pa-theme-accent) !important;
}

body[class*="photo-award-global-template-"] .photo-award-daily-card__award,
body[class*="photo-award-global-template-"] .entry-type-badge,
body[class*="photo-award-global-template-"] .type-badge,
body[class*="photo-award-global-template-"] .status-badge {
    background: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
    border-color: var(--pa-theme-accent) !important;
    border-radius: var(--pa-theme-radius) !important;
}

@media (max-width: 1180px) {
    body.photo-award-profile-page .photo-award-profile-container {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
    }
}

/* Last-mile control shape correction for Kimono/Gallery Console. */
body.photo-award-global-template-gallery-curator .event-registration-container .ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .ui.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .field.ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .field.ui.checkbox,
body.photo-award-global-template-gallery-curator .topic-checkbox {
    border-radius: 999px !important;
}
body.photo-award-global-template-gallery-curator .event-registration-container .ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .ui.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .field.ui.radio.checkbox,
body.photo-award-global-template-gallery-curator .event-registration-container .field.ui.checkbox,
body.photo-award-global-template-gallery-curator .topic-checkbox {
    border-top-left-radius: 999px !important;
    border-top-right-radius: 999px !important;
    border-bottom-right-radius: 999px !important;
    border-bottom-left-radius: 999px !important;
}

/* Final profile form polish: keep gender choices readable in every template. */
body.photo-award-profile-page .photo-award-profile-container .profile-form .radio-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.photo-award-profile-page .photo-award-profile-container .profile-form .radio-label {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    background: var(--pa-theme-surface-2, #f8fcff) !important;
    border: 1px solid var(--pa-theme-line, var(--pa-table-line)) !important;
    border-radius: max(8px, var(--pa-theme-radius, 8px)) !important;
    color: var(--pa-theme-ink, #102235) !important;
    line-height: 1.2 !important;
}

body.photo-award-profile-page .photo-award-profile-container .profile-form .radio-label input[type="radio"] {
    flex: 0 0 auto !important;
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
    margin: 0 !important;
    accent-color: var(--pa-theme-accent, #df9400) !important;
}

body.photo-award-profile-page .photo-award-profile-container .profile-form .radio-label span {
    display: inline-block !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    color: var(--pa-theme-ink, #102235) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

/* Dashboard final fixes: keep event cards and form action bars inside the active theme. */
body.photo-award-profile-page .dashboard-open-events .dashboard-event-links {
    display: grid !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.photo-award-profile-page .dashboard-open-events .dashboard-event-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px !important;
    background: var(--pa-shell-surface-2, var(--pa-dashboard-surface-soft, rgba(255, 255, 255, 0.04))) !important;
    border: 1px solid var(--pa-shell-line, var(--pa-dashboard-line, rgba(255, 255, 255, 0.14))) !important;
    border-radius: var(--pa-shell-radius, 8px) !important;
    box-shadow: none !important;
    color: var(--pa-shell-ink, var(--pa-dashboard-text, inherit)) !important;
}

body.photo-award-profile-page .dashboard-open-events .dashboard-event-link > div {
    min-width: 0 !important;
}

body.photo-award-profile-page .dashboard-open-events .dashboard-event-link h3 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--pa-shell-ink, var(--pa-dashboard-text, inherit)) !important;
}

body.photo-award-profile-page .dashboard-open-events .dashboard-event-link p {
    margin: 0 !important;
    color: var(--pa-shell-muted, var(--pa-dashboard-muted, inherit)) !important;
}

body.photo-award-profile-page .photo-award-profile-container .profile-form .form-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 18px 22px !important;
    background: var(--pa-shell-surface, var(--pa-theme-surface, #ffffff)) !important;
    border-top: 1px solid var(--pa-shell-line, var(--pa-theme-line, rgba(15, 23, 42, 0.14))) !important;
    color: var(--pa-shell-ink, var(--pa-theme-ink, #111827)) !important;
}

body.photo-award-profile-page:is(.photo-award-dashboard-template-cinematic, .photo-award-dashboard-template-signal, .photo-award-dashboard-template-noir, .photo-award-dashboard-template-royal, .photo-award-dashboard-template-atlas) .photo-award-profile-container .profile-form .form-actions,
body.photo-award-profile-page:is(.photo-award-global-template-midnight-cinema, .photo-award-global-template-template-7) .photo-award-profile-container .profile-form .form-actions {
    background: var(--pa-shell-surface-2, var(--pa-theme-surface-2, #101820)) !important;
}

@media (max-width: 720px) {
    body.photo-award-profile-page .dashboard-open-events .dashboard-event-link {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

/* Keep compact top menus stable after shortening Raw Requests. */
body.photo-award-profile-page .photo-award-profile-container .profile-nav a {
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.25 !important;
}

body.photo-award-profile-page .photo-award-profile-container .profile-nav .nav-icon {
    flex: 0 0 16px !important;
}

@media (max-width: 720px) {
    body.photo-award-profile-page .photo-award-profile-container .profile-nav a {
        white-space: normal !important;
    }
}

/* Entry type choices: keep Single and Series stacked with equal size. */
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type {
    align-items: start !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > label {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > .ui.radio.checkbox {
    grid-column: 2 !important;
    width: 300px !important;
    max-width: 100% !important;
    min-height: 58px !important;
    margin: 0 0 10px !important;
    padding: 0 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > .ui.radio.checkbox label {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > .field-error {
    grid-column: 2 !important;
}

/* Entry category choices: match the Single/Series control size. */
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics {
    align-items: start !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 0 !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox {
    width: 300px !important;
    max-width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox label {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Bundle cards receive a 10% tint from the active template accent. */
body.photo-award-profile-page[class*="photo-award-global-template-"] .photo-award-profile-container .photo-award-credit-bundles .bundle-card {
    background: color-mix(in srgb, var(--pa-theme-accent, #b88a2e) 10%, var(--pa-theme-surface, #ffffff)) !important;
    border-color: color-mix(in srgb, var(--pa-theme-accent, #b88a2e) 26%, var(--pa-theme-line, #dddddd)) !important;
    color: var(--pa-theme-ink, #111111) !important;
}

body.photo-award-global-template-midnight-cinema.photo-award-profile-page .photo-award-profile-container .photo-award-credit-bundles .bundle-card {
    background: color-mix(in srgb, #d4ff00 10%, #0a0a0a) !important;
    border-color: color-mix(in srgb, #d4ff00 35%, #2a2a2a) !important;
    color: #f5f8e8 !important;
}

body.photo-award-global-template-midnight-cinema.photo-award-profile-page .photo-award-profile-container .photo-award-credit-bundles .bundle-name {
    color: #ffffff !important;
    font-weight: 900 !important;
}

body.photo-award-global-template-midnight-cinema.photo-award-profile-page .photo-award-profile-container .photo-award-credit-bundles .bundle-details,
body.photo-award-global-template-midnight-cinema.photo-award-profile-page .photo-award-profile-container .photo-award-credit-bundles .bundle-details p {
    color: #f5f8e8 !important;
}

body.photo-award-global-template-midnight-cinema.photo-award-profile-page .photo-award-profile-container .photo-award-credit-bundles .bundle-buy-btn,
body.photo-award-global-template-midnight-cinema.photo-award-profile-page .photo-award-profile-container .photo-award-credit-bundles .open-login-budle {
    background: #d4ff00 !important;
    border-color: #d4ff00 !important;
    color: #000000 !important;
}

/* Midnight profile select/dropdown readability. */
body.photo-award-global-template-midnight-cinema.photo-award-profile-page .profile-form select,
body.photo-award-global-template-midnight-cinema.photo-award-profile-page .profile-content select,
body.photo-award-global-template-midnight-cinema.photo-award-profile-page .select2-container--default .select2-selection--single {
    background: #141414 !important;
    border-color: #2a2a2a !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema.photo-award-profile-page .profile-form select option,
body.photo-award-global-template-midnight-cinema.photo-award-profile-page .profile-content select option {
    background: #141414 !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema.photo-award-profile-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema .select2-dropdown,
body.photo-award-global-template-midnight-cinema .select2-container--open .select2-dropdown {
    background: #141414 !important;
    border-color: #2a2a2a !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema .select2-container--default .select2-search--dropdown .select2-search__field {
    background: #0a0a0a !important;
    border-color: #2a2a2a !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema .select2-container--default .select2-results__option {
    background: #141414 !important;
    color: #fafafa !important;
}

body.photo-award-global-template-midnight-cinema .select2-container--default .select2-results__option[aria-selected="true"],
body.photo-award-global-template-midnight-cinema .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #d4ff00 !important;
    color: #000000 !important;
}

@media (max-width: 720px) {
    body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > label,
    body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > .ui.radio.checkbox,
    body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > .field-error,
    body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox {
        grid-column: 1 !important;
        grid-row: auto !important;
        width: 100% !important;
    }
}

/* Profile menu position must follow the selected dashboard template on every member page. */
body.photo-award-profile-page.photo-award-profile-menu-side .photo-award-profile-container,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side {
    --pa-shell-width: 1260px !important;
    display: grid !important;
    grid-template-columns: minmax(230px, 282px) minmax(0, 1fr) !important;
    align-items: start !important;
}

body.photo-award-profile-page.photo-award-profile-menu-side .profile-sidebar,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-sidebar {
    position: sticky !important;
    top: 34px !important;
    width: 100% !important;
    max-width: none !important;
}

body.admin-bar.photo-award-profile-page.photo-award-profile-menu-side .profile-sidebar,
body.admin-bar.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-sidebar {
    top: 66px !important;
}

body.photo-award-profile-page.photo-award-profile-menu-side .profile-user-info,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-user-info {
    display: block !important;
}

body.photo-award-profile-page.photo-award-profile-menu-side .profile-user-info h3,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-user-info h3 {
    margin-bottom: 6px !important;
}

body.photo-award-profile-page.photo-award-profile-menu-side .profile-nav ul,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-nav ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

body.photo-award-profile-page.photo-award-profile-menu-side .profile-nav a,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-nav a {
    justify-content: flex-start !important;
    text-align: left !important;
    border-right: 0 !important;
}

body.photo-award-profile-page.photo-award-profile-menu-top .photo-award-profile-container,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-top {
    --pa-shell-width: 1180px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
}

body.photo-award-profile-page.photo-award-profile-menu-top .profile-sidebar,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-top .profile-sidebar {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
}

body.photo-award-profile-page.photo-award-profile-menu-top .profile-user-info,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-top .profile-user-info {
    display: flex !important;
}

body.photo-award-profile-page.photo-award-profile-menu-top .profile-nav ul,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-top .profile-nav ul {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)) !important;
    gap: 0 !important;
}

body.photo-award-profile-page.photo-award-profile-menu-top .profile-nav a,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-top .profile-nav a {
    justify-content: center !important;
    text-align: center !important;
    border-right: 1px solid var(--pa-shell-line) !important;
}

/* User-entered fields should not exceed 75% of their available row. */
body.photo-award-profile-page .profile-content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
body.photo-award-profile-page .profile-content select,
body.photo-award-profile-page .profile-content textarea,
body.photo-award-profile-page .embedded-entry-form-shell #event-registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
body.photo-award-profile-page .embedded-entry-form-shell #event-registration-form select,
body.photo-award-profile-page .embedded-entry-form-shell #event-registration-form textarea,
body.photo-award-event-submission-page #event-registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
body.photo-award-event-submission-page #event-registration-form select,
body.photo-award-event-submission-page #event-registration-form textarea,
.photo-award-contact-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.photo-award-contact-form select,
.photo-award-contact-form textarea,
.auth-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
.auth-form select,
.auth-form textarea,
body.photo-award-profile-page .select2-container {
    width: 75% !important;
    max-width: 75% !important;
    box-sizing: border-box !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .image-upload-area,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .series-upload-container,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox-group,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .image-upload-area,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .series-upload-container,
body.photo-award-event-submission-page #event-registration-form > .field.field-topics .topic-checkbox-group {
    width: 75% !important;
    max-width: 75% !important;
    box-sizing: border-box !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics,
body.photo-award-event-submission-page #event-registration-form > .field.field-topics {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* User dashboard edit-entry layout: keep section frames aligned with the form width. */
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .inline.fields,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-description,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .field-topics-container,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .field-topics-price-container,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell .entry-type-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox-group {
    width: 75% !important;
    max-width: 75% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox {
    width: min(300px, 100%) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .upload-input-div,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .upload-input-div {
    width: calc(100% + 60px) !important;
    max-width: calc(100% + 60px) !important;
    box-sizing: border-box !important;
    margin-left: -30px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .upload-input-div input[type="file"],
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .upload-input-div input[type="file"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .upload-input-div input[type="file"],
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .upload-input-div input[type="file"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]) {
    width: 100% !important;
    max-width: 100% !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-help,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-instructions,
body.photo-award-event-submission-page #event-registration-form .upload-help,
body.photo-award-event-submission-page #event-registration-form .upload-instructions,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-help,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-instructions {
    background: #ffffff !important;
    border-left: 3px solid #e60023 !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-help small,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-instructions small,
body.photo-award-event-submission-page #event-registration-form .upload-help small,
body.photo-award-event-submission-page #event-registration-form .upload-instructions small,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-help small,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-instructions small {
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .ui.button.primary,
body.photo-award-event-submission-page #event-registration-form .ui.button.primary,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .ui.button.primary,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-input-div:before,
body.photo-award-event-submission-page #event-registration-form .upload-input-div:before,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-input-div:before {
    background: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .ui.button.primary:hover,
body.photo-award-event-submission-page #event-registration-form .ui.button.primary:hover,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .ui.button.primary:hover,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-input-div:hover:before,
body.photo-award-event-submission-page #event-registration-form .upload-input-div:hover:before,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-input-div:hover:before {
    background: #bf001d !important;
    border-color: #bf001d !important;
}

/* Match edit-entry pages to the member dashboard frame dimensions. */
body.photo-award-entry-edit-page {
    --pa-edit-shell-width: 1260px;
}

html body.photo-award-entry-edit-page,
html body.photo-award-entry-edit-page.custom-background,
body.photo-award-entry-edit-page .site,
body.photo-award-entry-edit-page .site-main,
body.photo-award-entry-edit-page .site-content,
body.photo-award-entry-edit-page .content-area,
body.photo-award-entry-edit-page .ast-container,
body.photo-award-entry-edit-page .entry-content,
body.photo-award-entry-edit-page .wp-site-blocks,
body.photo-award-entry-edit-page .wp-block-post-content {
    background: var(--pa-theme-page-bg, #050607) !important;
    background-color: var(--pa-theme-page-bg, #050607) !important;
    color: var(--pa-theme-ink, #f7f8fb) !important;
}

html body.photo-award-entry-edit-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header, .dan-header, .dan-site-header, .dan-main-header, .dan-header-wrap) {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    z-index: 100 !important;
    display: block !important;
    width: 100% !important;
    min-height: var(--photo-award-site-header-min-height, 86px) !important;
    margin: 0 !important;
    background: var(--pa-theme-page-bg, #050607) !important;
    background-color: var(--pa-theme-page-bg, #050607) !important;
    border-bottom: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.16)) !important;
    box-shadow: none !important;
}

html body.photo-award-entry-edit-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header, .dan-header, .dan-site-header, .dan-main-header, .dan-header-wrap) * {
    color: var(--pa-theme-ink, #f7f8fb) !important;
}

html body.photo-award-entry-edit-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header, .dan-header, .dan-site-header, .dan-main-header, .dan-header-wrap) a,
html body.photo-award-entry-edit-page :is(.main-navigation, .primary-navigation, .menu, .nav-menu, .ast-builder-menu, .dan-nav, .dan-menu) a {
    color: var(--pa-theme-ink, #ffffff) !important;
    -webkit-text-fill-color: var(--pa-theme-ink, #ffffff) !important;
    text-decoration: none !important;
}

html body.photo-award-entry-edit-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header, .dan-header, .dan-site-header, .dan-main-header, .dan-header-wrap) a:hover,
html body.photo-award-entry-edit-page :is(.main-navigation, .primary-navigation, .menu, .nav-menu, .ast-builder-menu, .dan-nav, .dan-menu) a:hover {
    color: var(--pa-theme-accent, #f20d1f) !important;
    -webkit-text-fill-color: var(--pa-theme-accent, #f20d1f) !important;
}

html body.photo-award-entry-edit-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header, .dan-header, .dan-site-header, .dan-main-header, .dan-header-wrap) img {
    opacity: 1 !important;
    visibility: visible !important;
}

body.photo-award-entry-edit-page .site,
body.photo-award-entry-edit-page .site-content,
body.photo-award-entry-edit-page .ast-container,
body.photo-award-entry-edit-page .entry-content,
body.photo-award-entry-edit-page .wp-block-post-content {
    background: var(--pa-shell-page-bg, var(--pa-theme-page-bg, #050607)) !important;
}

body.photo-award-entry-edit-page > .event-registration-container,
body.photo-award-entry-edit-page .site-content .event-registration-container,
body.photo-award-entry-edit-page .entry-content > .event-registration-container,
body.photo-award-entry-edit-page .wp-block-post-content > .event-registration-container {
    --pa-shell-page-bg: var(--pa-theme-page-bg, #050607) !important;
    --pa-shell-surface: var(--pa-theme-surface, #101318) !important;
    --pa-shell-surface-2: var(--pa-theme-surface-2, #171b22) !important;
    --pa-shell-soft: var(--pa-theme-soft, #202632) !important;
    --pa-shell-line: var(--pa-theme-line, rgba(255, 255, 255, 0.16)) !important;
    --pa-shell-ink: var(--pa-theme-ink, #f7f8fb) !important;
    --pa-shell-muted: var(--pa-theme-muted, #b7c3d8) !important;
    --pa-shell-accent: var(--pa-theme-accent, #f20d1f) !important;
    --pa-shell-on-accent: var(--pa-theme-on-accent, #ffffff) !important;
    width: min(calc(100vw - 36px), var(--pa-edit-shell-width)) !important;
    max-width: var(--pa-edit-shell-width) !important;
    margin: clamp(22px, 3vw, 42px) auto 56px !important;
    padding: 30px 38px !important;
    box-sizing: border-box !important;
    background: var(--pa-theme-surface, #101318) !important;
    background-color: var(--pa-theme-surface, #101318) !important;
    border: 1px solid var(--pa-shell-line, var(--pa-theme-line, rgba(255, 255, 255, 0.16))) !important;
    border-radius: var(--pa-shell-radius, var(--pa-theme-radius, 8px)) !important;
    color: var(--pa-theme-ink, #ffffff) !important;
}

body.photo-award-entry-edit-page .event-registration-container > .event-title,
body.photo-award-entry-edit-page .event-registration-container > .event-subtitle {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.photo-award-entry-edit-page .event-registration-container #event-registration-form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .inline.fields,
body.photo-award-entry-edit-page .event-registration-container .entry-type-info,
body.photo-award-entry-edit-page .event-registration-container .existing-images-section,
body.photo-award-entry-edit-page .event-registration-container .field-topics-container,
body.photo-award-entry-edit-page .event-registration-container .field-topics-price-container,
body.photo-award-entry-edit-page .event-registration-container .image-upload-area,
body.photo-award-entry-edit-page .event-registration-container .series-upload-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.photo-award-entry-edit-page .event-registration-container #event-registration-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
body.photo-award-entry-edit-page .event-registration-container #event-registration-form select,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form textarea,
body.photo-award-entry-edit-page .event-registration-container .topic-checkbox-group,
body.photo-award-entry-edit-page .event-registration-container .upload-input-div {
    width: 75% !important;
    max-width: 75% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.photo-award-entry-edit-page .event-registration-container .topic-checkbox {
    width: min(300px, 100%) !important;
    max-width: 100% !important;
}

body.photo-award-entry-edit-page .event-registration-container .upload-input-div input[type="file"],
body.photo-award-entry-edit-page .event-registration-container .upload-input-div input[type="file"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]) {
    width: 100% !important;
    max-width: 100% !important;
}

/* Judging pages with a side-menu global template must not collapse the menu to the top. */
body.photo-award-profile-page.photo-award-member-template-judging.photo-award-profile-menu-side .photo-award-profile-container.photo-award-judging-scope,
body.photo-award-profile-page.photo-award-member-template-judging .photo-award-profile-container.photo-award-judging-scope.photo-award-profile-menu-side {
    --pa-shell-width: 1260px !important;
    display: grid !important;
    grid-template-columns: minmax(230px, 282px) minmax(0, 1fr) !important;
    align-items: start !important;
    width: 100% !important;
    max-width: var(--pa-shell-width) !important;
}

body.photo-award-profile-page.photo-award-member-template-judging.photo-award-profile-menu-side .photo-award-judging-scope .profile-sidebar,
body.photo-award-profile-page.photo-award-member-template-judging .photo-award-judging-scope.photo-award-profile-menu-side .profile-sidebar {
    position: sticky !important;
    top: 34px !important;
    width: 100% !important;
    max-width: none !important;
}

body.admin-bar.photo-award-profile-page.photo-award-member-template-judging.photo-award-profile-menu-side .photo-award-judging-scope .profile-sidebar,
body.admin-bar.photo-award-profile-page.photo-award-member-template-judging .photo-award-judging-scope.photo-award-profile-menu-side .profile-sidebar {
    top: 66px !important;
}

body.photo-award-profile-page.photo-award-member-template-judging.photo-award-profile-menu-side .photo-award-judging-scope .profile-nav ul,
body.photo-award-profile-page.photo-award-member-template-judging .photo-award-judging-scope.photo-award-profile-menu-side .profile-nav ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
}

body.photo-award-profile-page.photo-award-member-template-judging.photo-award-profile-menu-side .photo-award-judging-scope .profile-nav a,
body.photo-award-profile-page.photo-award-member-template-judging .photo-award-judging-scope.photo-award-profile-menu-side .profile-nav a {
    justify-content: flex-start !important;
    text-align: left !important;
    border-right: 0 !important;
}

/* Keep dashboard panel headings readable across every visual template. */
body.photo-award-profile-page .dashboard-panel-label,
body.photo-award-profile-page .dashboard-panel h2,
body.photo-award-profile-page .wallet-balance-amount,
body.photo-award-profile-page .dashboard-open-events h3,
body.photo-award-profile-page .dashboard-open-events p {
    line-height: 1.34 !important;
}

body.photo-award-profile-page .dashboard-panel-label {
    margin-bottom: 5px !important;
}

body.photo-award-profile-page .dashboard-panel h2 {
    padding-top: 8px !important;
    padding-bottom: 18px !important;
}

body.photo-award-profile-page .dashboard-open-events h3 {
    margin-bottom: 14px !important;
}

body.photo-award-profile-page .dashboard-open-events p {
    margin-bottom: 18px !important;
}

body.photo-award-plugin-context .profile-sidebar,
body.photo-award-profile-page.photo-award-plugin-context .photo-award-profile-container.photo-award-profile-menu-side .profile-sidebar,
body.photo-award-profile-page.photo-award-plugin-context.photo-award-profile-menu-side .profile-sidebar,
body.photo-award-profile-page.photo-award-plugin-context.photo-award-member-template-judging .photo-award-judging-scope.photo-award-profile-menu-side .profile-sidebar {
    top: calc(var(--photo-award-header-offset, 0px) + 24px) !important;
}

body.photo-award-profile-page .entry-success-page .photo-award-success-panel,
body[class*="photo-award-global-template-"] .entry-success-page .photo-award-success-panel {
    background: var(--pa-theme-surface, #ffffff) !important;
    border: 1px solid var(--pa-theme-line, rgba(15, 23, 42, 0.14)) !important;
    border-radius: 8px !important;
    box-shadow: var(--pa-theme-shadow, 0 18px 45px rgba(15, 23, 42, 0.08)) !important;
    color: var(--pa-theme-ink, #111827) !important;
    padding: 30px !important;
}

body.photo-award-profile-page .entry-success-page .photo-award-success-panel h1,
body.photo-award-profile-page .entry-success-page .photo-award-success-panel p {
    color: var(--pa-theme-ink, #111827) !important;
}

body.photo-award-profile-page .photo-award-success-message,
body.photo-award-profile-page .profile-message.success,
body.photo-award-profile-page .photo-award-frontend-message.success {
    display: block !important;
    width: 100% !important;
    margin: 0 0 22px !important;
    padding: 14px 18px !important;
    background: #0f8f3a !important;
    border: 1px solid #31c96b !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

body.photo-award-profile-page .entry-success-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

body.photo-award-profile-page .entry-success-actions .btn {
    min-width: 170px !important;
    text-align: center !important;
}

body.photo-award-profile-page .entry-success-summary,
body[class*="photo-award-global-template-"] .entry-success-summary {
    display: grid !important;
    grid-template-columns: minmax(220px, 360px) minmax(0, 1fr) !important;
    gap: 24px !important;
    margin: 26px 0 4px !important;
    padding: 22px !important;
    background: var(--pa-theme-surface-2, rgba(255, 255, 255, 0.04)) !important;
    border: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.14)) !important;
    border-radius: 8px !important;
}

body.photo-award-profile-page .entry-success-media {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 12px !important;
    align-content: start !important;
}

body.photo-award-profile-page .entry-success-image-link {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    border: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.14)) !important;
    border-radius: 8px !important;
    background: var(--pa-theme-surface, #101216) !important;
    aspect-ratio: 4 / 3 !important;
}

body.photo-award-profile-page .entry-success-image-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.photo-award-profile-page .entry-success-image-link span {
    position: absolute !important;
    left: 8px !important;
    bottom: 8px !important;
    min-width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--pa-theme-accent, #ef0012) !important;
    color: var(--pa-theme-on-accent, #ffffff) !important;
    font-weight: 800 !important;
}

body.photo-award-profile-page .entry-success-no-image {
    min-height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px dashed var(--pa-theme-line, rgba(255, 255, 255, 0.18)) !important;
    color: var(--pa-theme-muted, #a7adb8) !important;
}

body.photo-award-profile-page .entry-success-details h2 {
    margin: 0 0 16px !important;
    color: var(--pa-theme-ink, #ffffff) !important;
}

body.photo-award-profile-page .entry-success-details dl {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
}

body.photo-award-profile-page .entry-success-details dl > div {
    padding: 12px !important;
    border: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.14)) !important;
    background: var(--pa-theme-surface, rgba(0, 0, 0, 0.18)) !important;
}

body.photo-award-profile-page .entry-success-details .entry-success-description {
    grid-column: 1 / -1 !important;
}

body.photo-award-profile-page .entry-success-details dt {
    margin: 0 0 5px !important;
    color: var(--pa-theme-muted, #a7adb8) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

body.photo-award-profile-page .entry-success-details dd {
    margin: 0 !important;
    color: var(--pa-theme-ink, #ffffff) !important;
    font-weight: 700 !important;
}

body[class*="photo-award-global-template-"] .profile-message.success,
body[class*="photo-award-global-template-"] .photo-award-success-message,
body[class*="photo-award-global-template-"] .photo-award-frontend-message.success,
body[class*="photo-award-global-template-"] .event-registration-container #form-message.success,
body[class*="photo-award-global-template-"] .event-registration-container .ui.message.success,
.single-entry-container[class*="photo-award-global-template-"] .profile-message.success {
    display: block !important;
    width: 100% !important;
    background: #0f8f3a !important;
    border: 1px solid #31c96b !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

html body .single-entry-container[class*="photo-award-global-template-"],
html body .single-entry-container[class*="photo-award-global-template-"] .entry-header,
html body .single-entry-container[class*="photo-award-global-template-"] .entry-content,
html body .single-entry-container[class*="photo-award-global-template-"] .entry-details,
html body .single-entry-container[class*="photo-award-global-template-"] .detail-section,
html body .single-entry-container[class*="photo-award-global-template-"] .entry-images,
html body .single-entry-container[class*="photo-award-global-template-"] .entry-actions,
html body .single-entry-container[class*="photo-award-global-template-"] .modal-content {
    background: var(--pa-theme-surface) !important;
    border-color: var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
}

html body .single-entry-container[class*="photo-award-global-template-"] .detail-section,
html body .single-entry-container[class*="photo-award-global-template-"] .entry-actions,
html body .single-entry-container[class*="photo-award-global-template-"] .entry-meta span {
    background: var(--pa-theme-surface-2) !important;
}

/* Final profile entries/edit-entry color lock. */
body[class*="photo-award-global-template-"] .unpaid-invoices-summary,
body[class*="photo-award-global-template-"] .entries-summary .unpaid-invoices-summary,
body[class*="photo-award-global-template-"] .user-entries-table .unpaid-invoices-summary {
    background: var(--pa-theme-surface-2) !important;
    border: 1px solid var(--pa-theme-line-strong, var(--pa-theme-line)) !important;
    color: var(--pa-theme-ink) !important;
    box-shadow: none !important;
}

body[class*="photo-award-global-template-"] .unpaid-invoices-summary p,
body[class*="photo-award-global-template-"] .unpaid-invoices-summary strong,
body[class*="photo-award-global-template-"] .unpaid-invoices-summary span {
    color: var(--pa-theme-ink) !important;
    background: transparent !important;
}

body[class*="photo-award-global-template-"] .entry-row-actions .action-btn,
body[class*="photo-award-global-template-"] .entry-row .action-buttons .action-btn,
body[class*="photo-award-global-template-"] .entry-template .action-buttons .action-btn {
    background: var(--pa-theme-surface-2) !important;
    border: 1px solid var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
    box-shadow: none !important;
}

body[class*="photo-award-global-template-"] .entry-row-actions .delete-btn,
body[class*="photo-award-global-template-"] .entry-row .action-buttons .delete-btn {
    color: #ef4444 !important;
}

body[class*="photo-award-global-template-"] .entry-row-actions .action-btn:hover,
body[class*="photo-award-global-template-"] .entry-row .action-buttons .action-btn:hover {
    background: var(--pa-theme-accent) !important;
    border-color: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
}

body[class*="photo-award-global-template-"] .entry-row-image .image-count-indicator {
    background: var(--pa-theme-surface-2) !important;
    border: 1px solid var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
}

.event-registration-container[class*="photo-award-global-template-"] #event-registration-form,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .inline.fields,
.event-registration-container[class*="photo-award-global-template-"] .entry-type-info,
.event-registration-container[class*="photo-award-global-template-"] .existing-images-section,
.event-registration-container[class*="photo-award-global-template-"] .current-images,
.event-registration-container[class*="photo-award-global-template-"] .image-upload-area,
.event-registration-container[class*="photo-award-global-template-"] .series-upload-container,
.event-registration-container[class*="photo-award-global-template-"] .series-upload-item,
.event-registration-container[class*="photo-award-global-template-"] .topic-checkbox-group,
.event-registration-container[class*="photo-award-global-template-"] .topic-checkbox,
.event-registration-container[class*="photo-award-global-template-"] .ui.checkbox,
.event-registration-container[class*="photo-award-global-template-"] .ui.radio.checkbox {
    background: var(--pa-theme-surface) !important;
    border-color: var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
}

.event-registration-container[class*="photo-award-global-template-"] .entry-type-info,
.event-registration-container[class*="photo-award-global-template-"] .existing-images-section,
.event-registration-container[class*="photo-award-global-template-"] .current-images,
.event-registration-container[class*="photo-award-global-template-"] .image-upload-area,
.event-registration-container[class*="photo-award-global-template-"] .series-upload-container,
.event-registration-container[class*="photo-award-global-template-"] .topic-checkbox-group {
    background: var(--pa-theme-surface-2) !important;
}

.event-registration-container[class*="photo-award-global-template-"] label,
.event-registration-container[class*="photo-award-global-template-"] p,
.event-registration-container[class*="photo-award-global-template-"] strong,
.event-registration-container[class*="photo-award-global-template-"] small,
.event-registration-container[class*="photo-award-global-template-"] .topic-selection-info,
.event-registration-container[class*="photo-award-global-template-"] .upload-help,
.event-registration-container[class*="photo-award-global-template-"] .upload-instructions {
    color: var(--pa-theme-ink) !important;
}

.event-registration-container[class*="photo-award-global-template-"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.event-registration-container[class*="photo-award-global-template-"] select,
.event-registration-container[class*="photo-award-global-template-"] textarea {
    background: var(--pa-theme-surface) !important;
    border: 1px solid var(--pa-theme-line) !important;
    color: var(--pa-theme-ink) !important;
    box-shadow: none !important;
}

.event-registration-container[class*="photo-award-global-template-"] input::placeholder,
.event-registration-container[class*="photo-award-global-template-"] textarea::placeholder {
    color: var(--pa-theme-muted) !important;
    opacity: 1 !important;
}

.event-registration-container[class*="photo-award-global-template-"] .cancel-edit-entry-button,
.event-registration-container[class*="photo-award-global-template-"] #change-images-btn {
    background: var(--pa-theme-accent) !important;
    border-color: var(--pa-theme-accent) !important;
    color: var(--pa-theme-on-accent) !important;
    box-shadow: none !important;
}

.event-registration-container[class*="photo-award-global-template-"] .field-topics-price-container,
.event-registration-container[class*="photo-award-global-template-"] .price-value {
    color: var(--pa-theme-accent) !important;
}

.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-help,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-instructions {
    background: #ffffff !important;
    border-left: 3px solid #e60023 !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-help small,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-instructions small {
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
}

.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .ui.button.primary,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-input-div:before {
    background: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .ui.button.primary:hover,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-input-div:hover:before {
    background: #bf001d !important;
    border-color: #bf001d !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-help,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-instructions,
body.photo-award-event-submission-page #event-registration-form .upload-help,
body.photo-award-event-submission-page #event-registration-form .upload-instructions,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-help,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-instructions,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-help,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-instructions {
    background: #11161d !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-left: 3px solid #e60023 !important;
    color: #f7f8fb !important;
    -webkit-text-fill-color: #f7f8fb !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-help small,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .upload-instructions small,
body.photo-award-event-submission-page #event-registration-form .upload-help small,
body.photo-award-event-submission-page #event-registration-form .upload-instructions small,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-help small,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .upload-instructions small,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-help small,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .upload-instructions small {
    color: #b9c3d6 !important;
    -webkit-text-fill-color: #b9c3d6 !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .series-upload-item .upload-input-div,
body.photo-award-event-submission-page #event-registration-form .series-upload-item .upload-input-div,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .series-upload-item .upload-input-div,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .series-upload-item .upload-input-div {
    width: min(170px, 100%) !important;
    max-width: min(170px, 100%) !important;
    height: 38px !important;
    margin: 0 auto 14px !important;
    border-radius: 6px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .series-upload-item .upload-input-div input[type="file"],
body.photo-award-event-submission-page #event-registration-form .series-upload-item .upload-input-div input[type="file"],
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .series-upload-item .upload-input-div input[type="file"],
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .series-upload-item .upload-input-div input[type="file"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 38px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .series-upload-item .upload-input-div:before,
body.photo-award-event-submission-page #event-registration-form .series-upload-item .upload-input-div:before,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .series-upload-item .upload-input-div:before,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .series-upload-item .upload-input-div:before {
    min-height: 38px !important;
    padding: 0 18px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 850 !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .series-upload-item span.upload-input-div,
body.photo-award-event-submission-page #event-registration-form .series-upload-item span.upload-input-div,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .series-upload-item span.upload-input-div,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .series-upload-item span.upload-input-div {
    display: block !important;
    width: 150px !important;
    max-width: 150px !important;
    min-width: 0 !important;
    height: 36px !important;
    margin: 0 auto 14px !important;
    overflow: hidden !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .series-upload-item,
body.photo-award-event-submission-page #event-registration-form .series-upload-item,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .series-upload-item,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .series-upload-item {
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    min-height: 210px !important;
    padding: 22px 18px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .series-upload-container,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .series-upload-container,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-upload .series-upload-container,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-upload .series-upload-container {
    padding: 22px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .series-inputs-container,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .series-inputs-container,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-upload .series-inputs-container,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-upload .series-inputs-container {
    gap: 22px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .series-upload-item span.upload-input-div,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .series-upload-item span.upload-input-div,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-upload .series-upload-item span.upload-input-div,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-upload .series-upload-item span.upload-input-div {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 0 !important;
    margin: 0 auto 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .series-upload-item span.upload-input-div input[type="file"],
body.photo-award-event-submission-page #event-registration-form .series-upload-item span.upload-input-div input[type="file"],
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .series-upload-item span.upload-input-div input[type="file"],
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .series-upload-item span.upload-input-div input[type="file"] {
    height: 36px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form .series-upload-item span.upload-input-div:before,
body.photo-award-event-submission-page #event-registration-form .series-upload-item span.upload-input-div:before,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form .series-upload-item span.upload-input-div:before,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form .series-upload-item span.upload-input-div:before {
    width: 150px !important;
    max-width: 150px !important;
    min-height: 36px !important;
    left: 0 !important;
    right: auto !important;
    padding: 0 12px !important;
    font-size: 13px !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-entry-type > .ui.radio.checkbox,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox-group,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .topic-checkbox,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .series-upload-container,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-upload .series-upload-item,
body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-terms .ui.checkbox,
body.photo-award-event-submission-page #event-registration-form > .field.field-entry-type,
body.photo-award-event-submission-page #event-registration-form > .field.field-entry-type > .ui.radio.checkbox,
body.photo-award-event-submission-page #event-registration-form > .field.field-topics,
body.photo-award-event-submission-page #event-registration-form > .field.field-topics .topic-checkbox-group,
body.photo-award-event-submission-page #event-registration-form > .field.field-topics .topic-checkbox,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .series-upload-container,
body.photo-award-event-submission-page #event-registration-form > .field.field-upload .series-upload-item,
body.photo-award-event-submission-page #event-registration-form > .field.field-terms .ui.checkbox,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-entry-type,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-entry-type > .ui.radio.checkbox,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-topics,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-topics .topic-checkbox-group,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-topics .topic-checkbox,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-upload .series-upload-container,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-upload .series-upload-item,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-terms .ui.checkbox,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-entry-type,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-entry-type > .ui.radio.checkbox,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-topics,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-topics .topic-checkbox-group,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-topics .topic-checkbox,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-upload .series-upload-container,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-upload .series-upload-item,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-terms .ui.checkbox {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container .embedded-entry-form-shell #event-registration-form > .field.field-topics .field-topics-price-container,
body.photo-award-event-submission-page #event-registration-form > .field.field-topics .field-topics-price-container,
body.photo-award-entry-edit-page .event-registration-container #event-registration-form > .field.field-topics .field-topics-price-container,
.event-registration-container[class*="photo-award-global-template-"] #event-registration-form > .field.field-topics .field-topics-price-container {
    display: block !important;
    width: 75% !important;
    max-width: 75% !important;
    margin: 12px 0 0 !important;
    text-align: left !important;
}

@media (max-width: 980px) {
    body.photo-award-profile-page .entry-success-summary,
    body[class*="photo-award-global-template-"] .entry-success-summary {
        grid-template-columns: 1fr !important;
    }

    body.photo-award-profile-page .entry-success-details dl {
        grid-template-columns: 1fr !important;
    }

    body.photo-award-profile-page.photo-award-profile-menu-side .photo-award-profile-container,
    body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side {
        grid-template-columns: 1fr !important;
    }

    body.photo-award-profile-page.photo-award-profile-menu-side .profile-sidebar,
    body.admin-bar.photo-award-profile-page.photo-award-profile-menu-side .profile-sidebar,
    body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-sidebar {
        position: static !important;
        top: auto !important;
    }

    body.photo-award-profile-page.photo-award-profile-menu-side .profile-user-info,
    body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-user-info {
        display: flex !important;
    }

    body.photo-award-profile-page.photo-award-profile-menu-side .profile-nav ul,
    body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-nav ul {
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)) !important;
    }

    body.photo-award-profile-page.photo-award-profile-menu-side .profile-nav a,
    body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-menu-side .profile-nav a {
        justify-content: center !important;
        text-align: center !important;
        border-right: 1px solid var(--pa-shell-line) !important;
    }
}

/* Member profile header separation: keep the plugin header readable and distinct from page content. */
body.photo-award-profile-page .photo-award-profile-container {
    padding-top: 24px;
}

body.photo-award-profile-page .photo-award-profile-container .profile-user-info {
    background: linear-gradient(135deg, #101820 0%, #172433 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 2;
}

body.photo-award-profile-page .photo-award-profile-container .profile-user-info h3,
body.photo-award-profile-page .photo-award-profile-container .profile-user-info p {
    color: #ffffff !important;
}

body.photo-award-profile-page .photo-award-profile-container .profile-user-info p {
    opacity: 0.82;
}

body.photo-award-profile-page .photo-award-profile-container .profile-nav {
    border-radius: 8px !important;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

body.photo-award-profile-page .photo-award-profile-container .profile-content {
    position: relative;
    z-index: 0;
}

body.photo-award-profile-page.photo-award-global-template-template-7 .photo-award-profile-container .profile-user-info,
body.photo-award-profile-page.photo-award-global-template-midnight-cinema .photo-award-profile-container .profile-user-info,
body.photo-award-profile-page.photo-award-global-template-gala-prism .photo-award-profile-container .profile-user-info {
    background: linear-gradient(135deg, #0b0d11 0%, #171a20 100%) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

/* Keep member dashboard pages below the site header instead of letting the theme header overlap them. */
html body.photo-award-profile-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header) {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 100 !important;
    display: block !important;
    width: 100% !important;
    min-height: var(--photo-award-site-header-min-height, 86px) !important;
    margin: 0 !important;
    background: var(--pa-theme-surface, #0a0a0a) !important;
    border-bottom: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.16)) !important;
    box-shadow: none !important;
}

html body.photo-award-profile-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header) * {
    position: relative;
}

html body.photo-award-profile-page .photo-award-profile-container {
    clear: both !important;
    margin-top: clamp(24px, 3vw, 48px) !important;
}

/* Member profile photo upload and display */
body.photo-award-profile-page .profile-user-avatar,
body.photo-award-profile-page .dashboard-profile-avatar,
body.photo-award-profile-page .profile-photo-preview {
    display: block !important;
    flex: 0 0 auto !important;
    width: 88px !important;
    height: 88px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid var(--pa-theme-line, rgba(255, 255, 255, 0.18)) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22) !important;
}

body.photo-award-profile-page .profile-user-info .profile-user-avatar {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 14px !important;
}

body.photo-award-profile-page .dashboard-hero {
    align-items: center !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-auto-flow: column !important;
    gap: 26px !important;
}

body.photo-award-profile-page .dashboard-profile-avatar {
    width: 128px !important;
    height: 128px !important;
    margin: 0 !important;
}

body.photo-award-profile-page .dashboard-hero-copy {
    min-width: 0 !important;
}

body.photo-award-profile-page .dashboard-hero-actions {
    justify-self: end !important;
    margin-left: auto !important;
    align-items: center !important;
}

body.photo-award-profile-page .profile-photo-field {
    max-width: min(75%, 760px) !important;
}

body.photo-award-profile-page .profile-photo-control {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
}

body.photo-award-profile-page .profile-photo-preview {
    width: 104px !important;
    height: 104px !important;
}

body.photo-award-profile-page .profile-photo-control input[type="file"] {
    width: 100% !important;
    max-width: 520px !important;
    padding: 12px !important;
    border-radius: 8px !important;
    border: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.18)) !important;
    background: var(--pa-theme-input-bg, rgba(255, 255, 255, 0.06)) !important;
    color: var(--pa-theme-ink, #ffffff) !important;
}

body.photo-award-profile-page .profile-photo-control .form-help {
    display: block !important;
    margin-top: 8px !important;
}

@media (max-width: 782px) {
    body.photo-award-profile-page .dashboard-hero {
        align-items: flex-start !important;
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
    }

    body.photo-award-profile-page .dashboard-profile-avatar {
        width: 104px !important;
        height: 104px !important;
        margin: 0 0 16px !important;
    }

    body.photo-award-profile-page .dashboard-hero-actions {
        justify-self: start !important;
        margin-left: 0 !important;
    }

    body.photo-award-profile-page .profile-photo-field {
        max-width: 100% !important;
    }

    body.photo-award-profile-page .profile-photo-control {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
}

/* Final checkout table hardening. Keep this at the end so GetPaid/WPInv table styles cannot reintroduce white gutters. */
body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) {
    overflow: hidden !important;
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #151a22 !important;
    background-color: #151a22 !important;
    color: #f7f8fb !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) :is(caption, colgroup, col, thead, tbody, tfoot, tr, th, td) {
    border-color: transparent !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    background: #151a22 !important;
    background-color: #151a22 !important;
    color: #f7f8fb !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) :is(th, td) {
    padding: 14px 16px !important;
    border: 0 !important;
    outline: 0 !important;
    color: #f7f8fb !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) :is(thead th, thead td) {
    background: #111820 !important;
    background-color: #111820 !important;
    color: #ffffff !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) :is(td:empty, th:empty) {
    background: #101318 !important;
    background-color: #101318 !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) a {
    color: #ff5a66 !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(.getpaid-payment-form-items-cart, .getpaid-payment-form-items-cart *, .getpaid-payment-form-items-cart-totals, .getpaid-payment-form-items-cart-totals *, .getpaid-form-cart-totals-col, .getpaid-form-cart-totals-col.bg-light, .getpaid-form-cart-totals-subtotal, .getpaid-form-cart-totals-total, .getpaid-payment-form-line-totals-label, .getpaid-payment-form-line-totals-value, .getpaid-form-cart-item, [class*="getpaid-form-cart-item-"], .bg-light) {
    border-color: transparent !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    background: #151a22 !important;
    background-color: #151a22 !important;
    color: #f7f8fb !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content,
body.photo-award-invoice-checkout-page .photo-award-checkout-content * {
    box-sizing: border-box !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed {
    display: grid !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 0 22px !important;
    border: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed :is(thead, tbody) {
    display: grid !important;
    gap: 10px !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed tr {
    display: grid !important;
    grid-template-columns: minmax(220px, 1.65fr) minmax(120px, .7fr) minmax(100px, .55fr) minmax(150px, .85fr) !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 8px !important;
    background: #151a22 !important;
    overflow: hidden !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed thead tr {
    min-height: 54px !important;
    background: #111820 !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed tbody tr:not(.photo-award-payment-summary-row) {
    min-height: 68px !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed :is(th, td) {
    display: flex !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 14px 18px !important;
    border: 0 !important;
    background: transparent !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed .photo-award-payment-summary-row {
    grid-template-columns: repeat(2, max-content) !important;
    justify-content: center !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 56px !important;
    margin: 0 !important;
    background: #111820 !important;
    background-color: #111820 !important;
    box-sizing: border-box !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed .photo-award-payment-empty-cell {
    display: none !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed .photo-award-payment-summary-cell {
    justify-content: center !important;
    padding: 16px 0 !important;
    font-weight: 800 !important;
    text-align: center !important;
    background: transparent !important;
    background-color: transparent !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-subtotal-row,
body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed tbody .photo-award-payment-summary-row:nth-last-child(2) {
    display: grid !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed.getpaid-form-cart-totals-subtotal {
    display: block !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-duplicate-totals {
    display: none !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed.getpaid-payment-form-items-cart-totals {
    width: 100% !important;
    max-width: 100% !important;
    margin: 18px 0 0 !important;
    display: grid !important;
    gap: 10px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed.getpaid-form-cart-totals-col {
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 8px !important;
    padding: 13px 16px !important;
    background: #111820 !important;
    background-color: #111820 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed .form-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    margin: 0 !important;
    background: transparent !important;
    text-align: center !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed .form-row :is(.col, .col-4, .col-8, .getpaid-payment-form-line-totals-label, .getpaid-payment-form-line-totals-value) {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
}

/* White checkout table restore. */
body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table),
body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) :is(tr, th, td),
body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed tr,
body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed .photo-award-payment-summary-row,
body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed.getpaid-form-cart-totals-col {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #111827 !important;
    border-color: rgba(17, 24, 39, 0.12) !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed thead tr,
body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed thead :is(th, td),
body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) :is(thead th, thead td) {
    background: #f5f6f8 !important;
    background-color: #f5f6f8 !important;
    color: #111827 !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed .photo-award-payment-summary-row :is(td, th, span, strong, b),
body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed.getpaid-form-cart-totals-col :is(div, span, strong, b) {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-total-price,
body.photo-award-invoice-checkout-page .getpaid-form-cart-totals-total .getpaid-payment-form-line-totals-value {
    font-size: 30px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

body.photo-award-invoice-checkout-page.photo-award-total-only-mode .photo-award-payment-table-fixed,
body.photo-award-invoice-checkout-page.photo-award-total-only-mode .photo-award-payment-div-fixed.getpaid-payment-form-items-cart-totals {
    display: none !important;
}

body.photo-award-invoice-checkout-page.photo-award-total-only-mode .getpaid-payment-form-element-items > .getpaid-payment-form-items-cart {
    display: none !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-total-only {
    width: 100% !important;
    margin: 0 0 24px !important;
    padding: 24px 28px !important;
    border: 1px solid rgba(17, 24, 39, 0.12) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111827 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-total-only-label {
    display: none !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-total-only-price {
    display: block !important;
    font-size: 42px !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(table, .wpinv-table, .wpinv_checkout_cart, .wpinv-checkout-cart, .getpaid-checkout table, .getpaid-table, .invoice-table, .cart-table) a {
    color: #e60023 !important;
}

@media (max-width: 720px) {
    body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed tr {
        grid-template-columns: 1fr !important;
    }

    body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed thead {
        display: none !important;
    }

    body.photo-award-invoice-checkout-page .photo-award-payment-table-fixed .photo-award-payment-summary-row {
        width: 100% !important;
    }
}

/* Final invoice checkout layout. Mirrors public profile spacing and keeps the total field aligned with form inputs. */
html body.photo-award-invoice-checkout-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header, .dan-header, .dan-site-header, .dan-main-header, .dan-header-wrap) {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 100 !important;
    display: block !important;
    width: 100% !important;
    min-height: var(--photo-award-site-header-min-height, 86px) !important;
    margin: 0 !important;
    background: var(--pa-theme-surface, #0a0a0a) !important;
    border-bottom: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.16)) !important;
    box-shadow: none !important;
}

html body.photo-award-invoice-checkout-page :is(.site-header, header.site-header, #masthead, .main-header-bar, .ast-primary-header-bar, .wp-site-blocks > header, .wp-block-template-part header, .dan-header, .dan-site-header, .dan-main-header, .dan-header-wrap) * {
    position: relative !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-page {
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
    margin-top: clamp(16px, 2vw, 30px) !important;
    padding-top: calc(var(--photo-award-checkout-header-space, 24px) + 100px) !important;
}

body.photo-award-invoice-checkout-page.photo-award-total-only-mode .photo-award-payment-table-fixed,
body.photo-award-invoice-checkout-page.photo-award-total-only-mode .photo-award-payment-div-fixed.getpaid-payment-form-items-cart-totals,
body.photo-award-invoice-checkout-page.photo-award-total-only-mode .getpaid-payment-form-element-items > .getpaid-payment-form-items-cart {
    display: none !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-total-only {
    width: 75% !important;
    max-width: 75% !important;
    margin: 0 0 24px !important;
    padding: 15px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 7px !important;
    background: #101318 !important;
    background-color: #101318 !important;
    color: #f7f8fb !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-total-only-price,
body.photo-award-invoice-checkout-page .photo-award-payment-total-price,
body.photo-award-invoice-checkout-page .getpaid-form-cart-totals-total .getpaid-payment-form-line-totals-value {
    display: block !important;
    font-size: 34px !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    color: #f20d1f !important;
    -webkit-text-fill-color: #f20d1f !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-div-fixed.getpaid-form-cart-totals-col,
body.photo-award-invoice-checkout-page .photo-award-checkout-content :is(.getpaid-payment-form-element-items, .getpaid-payment-form-items-cart, .getpaid-form-cart-totals-total) {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: #101318 !important;
    background-color: #101318 !important;
    color: #f7f8fb !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-live-notice,
body.photo-award-invoice-checkout-page .photo-award-checkout-notice,
.photo-award-profile-notice {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(34, 197, 94, 0.45) !important;
    border-radius: 8px !important;
    background: rgba(22, 163, 74, 0.18) !important;
    color: #dcfce7 !important;
    -webkit-text-fill-color: #dcfce7 !important;
    font-weight: 800 !important;
}

.photo-award-wallet-balance-notice {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 18px !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 8px !important;
    background: #101318 !important;
    color: #f7f8fb !important;
}

.photo-award-wallet-balance-notice span {
    color: #b9c3d6 !important;
    -webkit-text-fill-color: #b9c3d6 !important;
    font-weight: 800 !important;
}

.photo-award-wallet-balance-notice strong {
    color: #f20d1f !important;
    -webkit-text-fill-color: #f20d1f !important;
    font-size: 22px !important;
    font-weight: 950 !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .photo-award-wallet-balance-notice,
body.photo-award-profile-page .my-entries-page .photo-award-wallet-balance-notice,
body.photo-award-profile-page .entry-archive-shell .photo-award-wallet-balance-notice {
    display: grid !important;
    justify-content: center !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 18px 22px !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .photo-award-wallet-balance-notice span,
body.photo-award-profile-page .my-entries-page .photo-award-wallet-balance-notice span,
body.photo-award-profile-page .entry-archive-shell .photo-award-wallet-balance-notice span {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    color: #f7f8fb !important;
    -webkit-text-fill-color: #f7f8fb !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .photo-award-wallet-balance-notice strong,
body.photo-award-profile-page .my-entries-page .photo-award-wallet-balance-notice strong,
body.photo-award-profile-page .entry-archive-shell .photo-award-wallet-balance-notice strong {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    line-height: 1 !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .entries-pagination .pagination-btn,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .entries-pagination .pagination-number,
body.photo-award-profile-page .my-entries-page .entries-pagination .pagination-btn,
body.photo-award-profile-page .my-entries-page .entries-pagination .pagination-number,
body.photo-award-profile-page .entry-archive-shell .entries-pagination .pagination-btn,
body.photo-award-profile-page .entry-archive-shell .entries-pagination .pagination-number {
    background: #11161d !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .entries-pagination .pagination-btn:hover,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .entries-pagination .pagination-number:hover,
body.photo-award-profile-page .my-entries-page .entries-pagination .pagination-btn:hover,
body.photo-award-profile-page .my-entries-page .entries-pagination .pagination-number:hover,
body.photo-award-profile-page .entry-archive-shell .entries-pagination .pagination-btn:hover,
body.photo-award-profile-page .entry-archive-shell .entries-pagination .pagination-number:hover,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-my-entries .entries-pagination .pagination-number.current,
body.photo-award-profile-page .my-entries-page .entries-pagination .pagination-number.current,
body.photo-award-profile-page .entry-archive-shell .entries-pagination .pagination-number.current {
    background: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.photo-award-invoice-checkout-page .photo-award-checkout-live-notice.error,
body.photo-award-invoice-checkout-page .photo-award-checkout-notice.error {
    border-color: rgba(248, 113, 113, 0.5) !important;
    background: rgba(127, 29, 29, 0.3) !important;
    color: #fee2e2 !important;
    -webkit-text-fill-color: #fee2e2 !important;
}

body.photo-award-invoice-checkout-page .photo-award-wallet-pay-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 75% !important;
    max-width: 75% !important;
    margin: 0 0 18px !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 7px !important;
    background: #101318 !important;
    color: #f7f8fb !important;
}

body.photo-award-invoice-checkout-page .photo-award-wallet-pay-copy {
    display: grid !important;
    gap: 4px !important;
}

body.photo-award-invoice-checkout-page .photo-award-wallet-pay-copy span,
body.photo-award-invoice-checkout-page .photo-award-wallet-pay-muted {
    color: #b9c3d6 !important;
    -webkit-text-fill-color: #b9c3d6 !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-methods {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-method-option {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 44px !important;
    padding: 10px 13px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 7px !important;
    background: #151a22 !important;
    color: #f7f8fb !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-method-option.is-selected {
    border-color: #e60023 !important;
    box-shadow: 0 0 0 1px rgba(230, 0, 35, 0.35) !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-method-option.is-disabled {
    cursor: not-allowed !important;
    opacity: 0.55 !important;
}

body.photo-award-invoice-checkout-page .photo-award-payment-method-option input {
    accent-color: #e60023 !important;
}

body.photo-award-invoice-checkout-page .photo-award-wallet-pay-button {
    border: 0 !important;
    border-radius: 7px !important;
    background: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    padding: 13px 18px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

body.photo-award-invoice-checkout-page.photo-award-payment-method-pending .photo-award-checkout-content :is(.getpaid-available-gateways-div, .wpinv-payment-gateways, .wpinv-payment-methods, .getpaid-payment-methods, ul.payment_methods, ul.wpinv-payment-gateways, ul.getpaid-payment-methods, .payment_box, .getpaid-description-stripe, .getpaid-description-wallet) {
    display: none !important;
}

body.photo-award-invoice-checkout-page.photo-award-account-funds-selected .photo-award-checkout-content :is(.getpaid-description-stripe, .payment_method_stripe, .getpaid-gateway-stripe) {
    display: none !important;
}

/* Member dashboard credit bundles */
.photo-award-profile-page .profile-page.bundles-page > h1,
.photo-award-profile-page .profile-page.bundles-page > p {
    display: none !important;
}

.photo-award-profile-container.photo-award-profile-view-bundles,
.photo-award-profile-container.photo-award-profile-view-bundles .profile-content,
.photo-award-profile-container.photo-award-profile-view-bundles .profile-page.bundles-page,
body.photo-award-profile-view-bundles .photo-award-profile-page,
body.photo-award-profile-view-bundles .profile-page.bundles-page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.photo-award-profile-container.photo-award-profile-view-bundles .profile-content,
body.photo-award-profile-view-bundles .photo-award-profile-page {
    align-self: stretch !important;
    min-height: calc(100vh - 220px) !important;
    padding-bottom: clamp(80px, 10vh, 150px) !important;
}

.photo-award-profile-container.photo-award-profile-view-bundles .profile-page.bundles-page,
body.photo-award-profile-view-bundles .profile-page.bundles-page {
    display: block !important;
    clear: both !important;
    min-height: calc(100vh - 260px) !important;
    padding: 0 0 clamp(90px, 12vh, 170px) !important;
    overflow: visible !important;
}

.photo-award-bundles-dashboard {
    display: grid !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: both !important;
    color: var(--pa-theme-ink, #f7f8fb) !important;
}

.photo-award-bundles-dashboard *,
.photo-award-bundles-dashboard *::before,
.photo-award-bundles-dashboard *::after {
    box-sizing: border-box !important;
}

.photo-award-bundles-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px) !important;
    gap: 18px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: clamp(20px, 3vw, 30px) !important;
    border: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.16)) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(242, 13, 31, 0.13), rgba(255, 255, 255, 0.025) 42%),
        var(--pa-theme-surface, #101318) !important;
    box-shadow: var(--pa-theme-shadow, 0 22px 50px rgba(0, 0, 0, 0.24)) !important;
}

.photo-award-bundles-hero-copy {
    display: grid !important;
    align-content: center !important;
    gap: 10px !important;
}

.photo-award-bundles-kicker,
.photo-award-bundle-label {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    color: var(--pa-theme-accent, #f20d1f) !important;
    -webkit-text-fill-color: var(--pa-theme-accent, #f20d1f) !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.photo-award-bundles-hero h2 {
    margin: 0 !important;
    color: var(--pa-theme-ink, #ffffff) !important;
    -webkit-text-fill-color: var(--pa-theme-ink, #ffffff) !important;
    font-size: clamp(28px, 4vw, 46px) !important;
    line-height: 1.02 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
}

.photo-award-bundles-hero p {
    max-width: 680px !important;
    margin: 0 !important;
    color: var(--pa-theme-muted, #b9c3d6) !important;
    -webkit-text-fill-color: var(--pa-theme-muted, #b9c3d6) !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.photo-award-bundles-wallet-panel {
    display: grid !important;
    align-content: center !important;
    gap: 7px !important;
    min-height: 156px !important;
    padding: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.22) !important;
}

.photo-award-bundles-wallet-panel span,
.photo-award-bundles-wallet-panel small {
    color: var(--pa-theme-muted, #b9c3d6) !important;
    -webkit-text-fill-color: var(--pa-theme-muted, #b9c3d6) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
}

.photo-award-bundles-wallet-panel strong {
    color: var(--pa-theme-accent, #f20d1f) !important;
    -webkit-text-fill-color: var(--pa-theme-accent, #f20d1f) !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

.photo-award-bundles-status {
    display: none !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    font-weight: 850 !important;
}

.photo-award-bundles-status.is-visible {
    display: block !important;
}

.photo-award-bundles-status.is-success {
    border: 1px solid rgba(34, 197, 94, 0.45) !important;
    background: rgba(22, 163, 74, 0.18) !important;
    color: #dcfce7 !important;
    -webkit-text-fill-color: #dcfce7 !important;
}

.photo-award-bundles-status.is-error {
    border: 1px solid rgba(248, 113, 113, 0.5) !important;
    background: rgba(127, 29, 29, 0.28) !important;
    color: #fee2e2 !important;
    -webkit-text-fill-color: #fee2e2 !important;
}

.photo-award-bundles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 16px !important;
    direction: ltr !important;
}

.photo-award-bundle-card {
    display: grid !important;
    gap: 18px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 310px !important;
    padding: 20px !important;
    border: 1px solid var(--pa-theme-line, rgba(255, 255, 255, 0.16)) !important;
    border-radius: 8px !important;
    background: var(--pa-theme-surface, #101318) !important;
    color: var(--pa-theme-ink, #f7f8fb) !important;
    box-shadow: var(--pa-theme-shadow, none) !important;
}

.photo-award-bundle-card.is-featured {
    border-color: rgba(242, 13, 31, 0.62) !important;
    box-shadow: 0 0 0 1px rgba(242, 13, 31, 0.18), var(--pa-theme-shadow, none) !important;
}

.photo-award-bundle-card-top {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.photo-award-bundle-name {
    margin: 7px 0 0 !important;
    color: var(--pa-theme-ink, #ffffff) !important;
    -webkit-text-fill-color: var(--pa-theme-ink, #ffffff) !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
}

.photo-award-bundle-bonus {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: rgba(242, 13, 31, 0.16) !important;
    color: var(--pa-theme-accent, #f20d1f) !important;
    -webkit-text-fill-color: var(--pa-theme-accent, #f20d1f) !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.photo-award-bundle-credit {
    display: grid !important;
    gap: 5px !important;
    padding: 18px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.photo-award-bundle-credit span,
.photo-award-bundle-meta span {
    color: var(--pa-theme-muted, #b9c3d6) !important;
    -webkit-text-fill-color: var(--pa-theme-muted, #b9c3d6) !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
}

.photo-award-bundle-credit strong {
    color: var(--pa-theme-ink, #ffffff) !important;
    -webkit-text-fill-color: var(--pa-theme-ink, #ffffff) !important;
    font-size: 38px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
}

.photo-award-bundle-meta {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.photo-award-bundle-meta > div {
    display: grid !important;
    gap: 5px !important;
    min-width: 0 !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.035) !important;
}

.photo-award-bundle-meta strong {
    color: var(--pa-theme-ink, #ffffff) !important;
    -webkit-text-fill-color: var(--pa-theme-ink, #ffffff) !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
}

.photo-award-bundle-action {
    align-self: end !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--pa-theme-accent, #e60023) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    cursor: pointer !important;
    transition: transform .16s ease, filter .16s ease, opacity .16s ease !important;
}

.photo-award-bundle-action:hover,
.photo-award-bundle-action:focus {
    transform: translateY(-1px) !important;
    filter: brightness(1.05) !important;
}

.photo-award-bundle-action:disabled,
.photo-award-bundle-action.is-loading {
    cursor: wait !important;
    opacity: .72 !important;
    transform: none !important;
}

.photo-award-bundles-empty {
    margin: 0 !important;
}

@media (max-width: 1180px) {
    .photo-award-bundles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .photo-award-bundles-hero {
        grid-template-columns: 1fr !important;
    }

    .photo-award-bundles-wallet-panel {
        min-height: 0 !important;
    }
}

@media (max-width: 560px) {
    .photo-award-bundles-hero {
        padding: 18px !important;
    }

    .photo-award-bundles-grid {
        grid-template-columns: 1fr !important;
    }

    .photo-award-bundle-meta {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 782px) {
    body.photo-award-invoice-checkout-page .photo-award-checkout-total-only {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.photo-award-invoice-checkout-page .photo-award-wallet-pay-box {
        width: 100% !important;
        max-width: 100% !important;
        align-items: stretch !important;
        flex-direction: column !important;
    }
}

body.photo-award-profile-page .photo-award-profile-container :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
),
body.photo-award-global-template-template-7 :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
) {
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease !important;
    will-change: transform, filter !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):where(:hover, :focus-visible),
body.photo-award-global-template-template-7 :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):where(:hover, :focus-visible) {
    transform: translateY(-1px) !important;
    filter: brightness(1.05) !important;
    box-shadow: 0 10px 24px rgba(230, 0, 35, 0.28) !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):active,
body.photo-award-global-template-template-7 :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):active {
    transform: translateY(0) !important;
    filter: brightness(.98) !important;
    box-shadow: 0 5px 14px rgba(230, 0, 35, 0.2) !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):disabled,
body.photo-award-profile-page .photo-award-profile-container :is(.btn, .button, button, .ui.button).disabled,
body.photo-award-global-template-template-7 :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):disabled,
body.photo-award-global-template-template-7 :is(.btn, .button, button, .ui.button).disabled {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(.upload-input-div, span.upload-input-div):before,
body.photo-award-global-template-template-7 :is(.upload-input-div, span.upload-input-div):before {
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease !important;
    will-change: transform, filter !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(.upload-input-div, span.upload-input-div):hover:before,
body.photo-award-profile-page .photo-award-profile-container :is(.upload-input-div, span.upload-input-div):focus-within:before,
body.photo-award-global-template-template-7 :is(.upload-input-div, span.upload-input-div):hover:before,
body.photo-award-global-template-template-7 :is(.upload-input-div, span.upload-input-div):focus-within:before {
    transform: translateY(-1px) !important;
    filter: brightness(1.05) !important;
    box-shadow: 0 10px 24px rgba(230, 0, 35, 0.28) !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
),
body.photo-award-event-submission-page :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .pay-button,
    .cancel-edit-entry-button
),
body.photo-award-entry-edit-page :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .pay-button,
    .cancel-edit-entry-button
),
body.photo-award-global-template-template-7 :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
) {
    background: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):where(:hover, :focus-visible),
body.photo-award-event-submission-page :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .pay-button,
    .cancel-edit-entry-button
):where(:hover, :focus-visible),
body.photo-award-entry-edit-page :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .pay-button,
    .cancel-edit-entry-button
):where(:hover, :focus-visible),
body.photo-award-global-template-template-7 :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):where(:hover, :focus-visible) {
    background: #bf001d !important;
    border-color: #bf001d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):disabled,
body.photo-award-global-template-template-7 :is(
    .btn,
    .button,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .ui.button,
    .bundle-buy-btn,
    .photo-award-bundle-action,
    .photo-award-wallet-pay-button,
    .pay-button,
    .pagination-btn,
    .pagination-number,
    .action-btn,
    .certificate-download-btn,
    .certificate-generate-btn,
    .open-login-budle,
    .contact-submit-btn,
    .cancel-edit-entry-button
):disabled {
    opacity: .65 !important;
    cursor: not-allowed !important;
    background: #e60023 !important;
    border-color: #e60023 !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(.upload-input-div, span.upload-input-div):before,
body.photo-award-event-submission-page :is(.upload-input-div, span.upload-input-div):before,
body.photo-award-entry-edit-page :is(.upload-input-div, span.upload-input-div):before,
body.photo-award-global-template-template-7 :is(.upload-input-div, span.upload-input-div):before {
    background: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container :is(.upload-input-div, span.upload-input-div):hover:before,
body.photo-award-profile-page .photo-award-profile-container :is(.upload-input-div, span.upload-input-div):focus-within:before,
body.photo-award-event-submission-page :is(.upload-input-div, span.upload-input-div):hover:before,
body.photo-award-event-submission-page :is(.upload-input-div, span.upload-input-div):focus-within:before,
body.photo-award-entry-edit-page :is(.upload-input-div, span.upload-input-div):hover:before,
body.photo-award-entry-edit-page :is(.upload-input-div, span.upload-input-div):focus-within:before,
body.photo-award-global-template-template-7 :is(.upload-input-div, span.upload-input-div):hover:before,
body.photo-award-global-template-template-7 :is(.upload-input-div, span.upload-input-div):focus-within:before {
    background: #bf001d !important;
    border-color: #bf001d !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

body.photo-award-invoice-checkout-page :is(
    .photo-award-checkout-content button,
    .photo-award-checkout-content .button,
    .photo-award-checkout-content input[type="button"],
    .photo-award-checkout-content input[type="submit"],
    .photo-award-checkout-content a.button,
    .photo-award-wallet-pay-button,
    .pay-button
) {
    background: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card-wallet {
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    border-color: rgba(230, 0, 35, 0.35) !important;
    background: #101318 !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro {
    align-items: stretch !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card {
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    min-height: 142px !important;
    background: #101318 !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card span,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card small {
    width: 100% !important;
    color: #f7f8fb !important;
    -webkit-text-fill-color: #f7f8fb !important;
    text-align: center !important;
    font-weight: 900 !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card .stat-number {
    margin: 4px 0 !important;
    width: 100% !important;
    color: #f20d1f !important;
    -webkit-text-fill-color: #f20d1f !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    line-height: 1 !important;
    text-align: center !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .photo-award-dashboard-stat-value {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-variant-numeric: tabular-nums !important;
    counter-reset: none !important;
    animation: none !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .photo-award-dashboard-stat-value::before,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .photo-award-dashboard-stat-value::after {
    content: none !important;
    display: none !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card-wallet span,
body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card-wallet small {
    width: 100% !important;
    color: #f7f8fb !important;
    -webkit-text-fill-color: #f7f8fb !important;
    text-align: center !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-stats-pro .stat-card-wallet .stat-wallet-amount {
    margin: 4px 0 !important;
    width: 100% !important;
    color: #f20d1f !important;
    -webkit-text-fill-color: #f20d1f !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    line-height: 1 !important;
    text-align: center !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .wallet-balance-section {
    display: none !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-credit-bundles-panel {
    margin-top: 18px !important;
    overflow: hidden !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-credit-bundles-content {
    margin-top: 16px !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-credit-bundles-panel .photo-award-bundles-dashboard {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-credit-bundles-panel .photo-award-bundles-hero {
    margin-bottom: 18px !important;
}

body.photo-award-profile-page .photo-award-profile-container.photo-award-profile-view-dashboard .dashboard-credit-bundles-panel .photo-award-bundles-grid {
    padding-inline: clamp(8px, 1vw, 14px) !important;
}

body.photo-award-profile-page .my-entries-page .entries-summary,
body.photo-award-profile-page .entry-archive-shell .entries-summary {
    border-left-color: #e60023 !important;
    background: #101318 !important;
    color: #f7f8fb !important;
}

body.photo-award-profile-page .my-entries-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
}

body.photo-award-profile-page .my-entries-summary-item {
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    min-height: 104px !important;
    padding: 18px 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 8px !important;
    background: #15191f !important;
    text-align: center !important;
}

body.photo-award-profile-page .my-entries-summary-item span {
    color: #f7f8fb !important;
    -webkit-text-fill-color: #f7f8fb !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

body.photo-award-profile-page .my-entries-summary-item strong {
    margin-top: 8px !important;
    color: #f20d1f !important;
    -webkit-text-fill-color: #f20d1f !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

body.photo-award-profile-page .my-entries-summary-paid {
    border-color: rgba(50, 210, 120, 0.26) !important;
}

body.photo-award-profile-page .my-entries-summary-unpaid {
    border-color: rgba(230, 0, 35, 0.36) !important;
}

@media (max-width: 720px) {
    body.photo-award-profile-page .my-entries-summary-grid {
        grid-template-columns: 1fr !important;
    }
}


body.photo-award-invoice-checkout-page :is(
    .photo-award-checkout-content button,
    .photo-award-checkout-content .button,
    .photo-award-checkout-content input[type="button"],
    .photo-award-checkout-content input[type="submit"],
    .photo-award-checkout-content a.button,
    .photo-award-wallet-pay-button,
    .pay-button
):where(:hover, :focus-visible) {
    background: #bf001d !important;
    border-color: #bf001d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}
