/*
 Theme Name:  TH Frost
 Theme URI:   https://www.thresholdagency.com/
 Description: A child theme of Frost Block Theme by StudioPress.
 Author:      Threshold Agency
 Author URI:  https://www.thresholdagency.com/
 Template:    frost
 Version:     1.0.0
 License:     GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: th-frost
 Tags:        block-theme, full-site-editing, child-theme
*/


/*--------------------------------------------------------------
    General Elements
-------------------------------------------------------------- */
.white{
    color:#ffffff;
    }
.black{
    color:#000000;
    }
.right-float{
    float:right;
    }
.left-float{
    float:left;
    }
.right-text{
    text-align:right;
    }
.left-text{
    text-align:left;
    }

.mobile-br{
    display:inline;
    }

:root {
    --th-bg-primary: #0a0a0a;
    --th-bg-secondary: #1a1a1a;
    --th-bg-tertiary: #252525;
    --th-bg-white: #ffffff;
    --th-bg-hover: #2a2a2a;
    --th-bg-active: #333333;
    --th-bg-transparent: transparent;
    
    --th-text-primary: #ffffff;
    --th-text-secondary: #1a1a1a;
    --th-text-muted: #808080;
    
    --th-accent-primary: #e82219;
    --th-accent-secondary: #e82219;
    --th-accent-success: #e82219;
    --th-accent-warning: #f59e0b;
    --th-accent-danger: #ef4444;
    
    --th-border-color: #333333;
    --th-border-light: #262626;
    --th-border-dark: #ffffff;
    
    --th-shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
    --th-shadow-md: 0 4px 12px rgba(0,0,0,0.5);
    --th-shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --th-shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
    
    --th-radius-sm: 0px;
    --th-radius-md: 0px;
    --th-radius-lg: 0px;
    
    --th-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}




/*--------------------------------------------------------------
    Header Elements
-------------------------------------------------------------- */
.wp-block-navigation .wp-block-navigation-item__label, .logged-in.wp-block-loginout {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
}







/*--------------------------------------------------------------
    Homepage Elements
-------------------------------------------------------------- */










/*--------------------------------------------------------------
    Ultimate Member Page Elements
-------------------------------------------------------------- */
.um .um-form input[type=number]:focus, .um .um-form input[type=password]:focus, .um .um-form input[type=search]:focus, .um .um-form input[type=tel]:focus, .um .um-form input[type=text]:focus, .um .um-form textarea:focus {
    background-color: #ffffff !important;
}

.um a.um-button, .um a.um-button.um-disabled:active, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:hover, .um input[type=submit].um-button, .um input[type=submit].um-button:focus {
    background: #e82219 !important;
    padding: 10px 30px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    border-radius: 0px !important;
    font-weight: 600 !important;
    min-width: 200px;
}

.um-account-main div.um-account-heading, .um-account-name a, .um a.um-link-alt, .um-profile.um .um-name a,
.um-profile-note span, .um-profile-note, .um-profile.um .um-profile-headericon a{
    color: #ffffff !important;
}
.um-profile.um .um-profile-headericon .um-dropdown-b  a{
     color: #000000 !important;   
}
.um .um-cover-add:hover, .um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i, 
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i, .um .um-item-meta a, .um .um-member-less a:hover, 
.um .um-member-more a:hover, .um .um-member-name a:hover, .um .um-members-pagi a:hover, .um .um-profile-subnav a.active, 
.um .um-tip:hover, .um-account-name a:hover, .um-account-nav a.current, .um-account-side li a.current span.um-account-icon, 
.um-account-side li a.current:hover span.um-account-icon, .um-dropdown li a:hover, i.um-active-color, span.um-active-color,
.um-profile.um .um-profile-headericon a:hover{
    color: #e8221a !important;
}
.um:not(.um-admin), .um .um-field-label {
    color: #ffffff !important;
    font-weight: 400 !important;
}
.um .um-field-checkbox-option, .um .um-field-radio-option, .um .um-tip, .um .um-tip:hover, .um-field-checkbox:hover i, .um-field-radio:hover i {
    color: #ffffff !important;
}
.um .um-account-main label.right {
    text-align: left;
}
.um-request-button {
    border-radius: 0px !important;
    background-color: #e8221a !important;
    padding: 5px 30px !important;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}


/*--------------------------------------------------------------
    Project Page Elements
-------------------------------------------------------------- */



/* Base Container Styles */
.th-projects-container,
.th-project-view-container {
    /*background: var(--th-bg-primary);*/
    color: var(--th-text-primary);
    min-height: 100vh;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.th-project-form-container{
    color: var(--th-text-primary);
    min-height: 100vh;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--th-text-primary);
    font-weight: 600;
    margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Button Styles */
.th-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--th-radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--th-transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.th-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.th-btn:hover::before {
    width: 300px;
    height: 300px;
}

.th-btn-primary {
    background: linear-gradient(135deg, var(--th-accent-primary), var(--th-accent-secondary));
    color: white;
    box-shadow: var(--th-shadow-sm);
}

.th-btn-primary:hover {
    box-shadow: var(--th-shadow-glow);
    transform: translateY(-2px);
}

.th-btn-secondary {
    background: var(--th-bg-tertiary);
    color: var(--th-text-primary);
    /*border: 1px solid var(--th-border-color);*/
}

.th-btn-secondary:hover {
    background: var(--th-bg-hover);
    /*border-color: var(--th-accent-primary);*/
}

.th-btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}
.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover {
    color: #e8221a;
}
.th-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--th-text-primary);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--th-transition);
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.th-btn-back:hover {
    color: var(--th-accent-primary);
    transform: translateX(-4px);
}

/* Header Styles */
.th-projects-header,
.th-form-header,
.th-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    padding-bottom: 1.5rem;
    /*border-bottom: 1px solid var(--th-border-light);*/
}

.th-view-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Grid Layout */
.th-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    animation: fadeInUp 0.5s ease;
}

/* Project Card */
.th-project-card {
    background: rgba(255, 255, 255, 0.75);
    /*border: 1px solid var(--th-border-light);*/
    border-radius: var(--th-radius-md);
    padding: 1.5rem;
    transition: var(--th-transition);
    position: relative;
    overflow: hidden;
}

.th-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--th-accent-primary), var(--th-accent-secondary));
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.th-project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--th-shadow-lg);
    border-color: var(--th-accent-primary);
}

.th-project-card:hover::before {
    transform: translateX(0);
}

.th-project-card h3 {
    margin-bottom: 1rem;
    color: var(--th-text-secondary);
}

.th-project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.th-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--th-text-secondary);
    font-size: 0.875rem;
}

.th-meta-item svg {
    stroke: var(--th-accent-primary);
}

.th-project-actions {
    display: flex;
    gap: 0.75rem;
}

/* Empty State */
.th-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--th-bg-secondary);
    border-radius: var(--th-radius-lg);
    border: 2px dashed var(--th-border-color);
}

.th-empty-state svg {
    color: var(--th-text-muted);
    margin-bottom: 1.5rem;
}

.th-empty-state h3 {
    color: var(--th-text-primary);
    margin-bottom: 0.5rem;
}

.th-empty-state p {
    color: var(--th-text-secondary);
    margin-bottom: 1.5rem;
}

/* ACF Form Styles */
.acf-form {
    background: rgb(255 255 255 / 75%);
    border-radius: var(--th-radius-lg);
    padding: 2rem;
}

.acf-field {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--th-bg-transparent);
    border-radius: var(--th-radius-sm);
    /*border: 1px solid var(--th-border-light);*/
    transition: var(--th-transition);
}

.acf-field:hover {
    border-color: var(--th-accent-primary);
}

.acf-label {
    margin-bottom: 0.5rem;
}

.acf-label label {
    color: var(--th-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}
.hide-map .acf-google-map .canvas {
    height: 120px ! IMPORTANT;
}
.acf-input input[type="text"],
.acf-input input[type="email"],
.acf-input input[type="url"],
.acf-input input[type="number"],
.acf-input textarea,
.acf-input select {
    width: 100%;
    padding: 0.75rem;
    background: var(--th-bg-tertiary);
    border: 1px solid var(--th-border-color);
    border-radius: var(--th-radius-sm);
    color: var(--th-text-primary);
    font-size: 0.95rem;
    transition: var(--th-transition);
}

.acf-input input:focus,
.acf-input textarea:focus,
.acf-input select:focus {
    outline: none;
    /*border-color: var(--th-accent-primary);*/
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
input:focus,
textarea:focus {
    background: var(--th-bg-tertiary) !important;
	outline: none;
}
.acf-input-wrap {
    position: relative;
}
.th-error-message {
    font-size: 13px;
    line-height: 1;
    color: red;
}
i.acf-icon.-globe.-small {
    top: 10px;
}
/* Tab Styles */
.acf-tab-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--th-border-light);
    background: none !important;
}
.acf-field p.description{
    font-size:13px;
}
.acf-tab-button {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--th-text-secondary);
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--th-transition);
}

.acf-tab-button:hover {
    color: var(--th-text-secondary);
}

.acf-tab-button.active {
    color: var(--th-accent-primary);
}

.acf-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--th-accent-primary), var(--th-accent-secondary));
}

/* Repeater Styles */
.acf-repeater {
    /*background: var(--th-bg-primary);*/
    border-radius: var(--th-radius-md);
    /*padding: 1rem;*/
}

.acf-repeater .acf-row {
    background: var(--th-bg-transparent);
        color: #ffffff;
    border-radius: var(--th-radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
    /*border: 1px solid var(--th-border-light);*/
}
.acf-field p.description {
    margin-top: 0px !important;
    line-height: 1.3;
}
/*.acf-repeater .acf-row:hover {*/
/*    border-color: var(--th-accent-primary);*/
/*}*/

/*.acf-repeater .acf-row-handle {*/
/*    background: var(--th-bg-hover);*/
/*    cursor: move;*/
/*}*/
.acf-table>thead>tr>th label {
    font-size: 16px;
    line-height: 1;
}
input.th-search-input {
    width: 96.5%;
}
.th-search-wrapper {
    margin-bottom: 30px !important;
}
.acf-button {
    background: var(--th-accent-primary) !important;
    color: white !important;
    border: none !important;
    padding: 5px 30px;
    border-radius: var(--th-radius-sm) !important;
    cursor: pointer;
    transition: var(--th-transition);
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
}

.acf-button:hover {
    background: var(--th-accent-secondary) !important;
    transform: translateY(-2px);
}

/* Phase Tabs for View Mode */
.th-phase-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--th-border-dark);
}

.th-tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--th-text-primary);
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--th-transition);
}

.th-tab-btn:hover {
    color: var(--th-accent-primary);
}

.th-tab-btn.active {
    color: var(--th-accent-primary);
}

.th-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--th-accent-primary), var(--th-accent-secondary));
}

.th-phase-content {
    animation: fadeIn 0.5s ease;
}

.th-phase-panel {
    display: none;
}

.th-phase-panel.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Field Display Styles */
.th-field-section {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--th-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.th-field-section h3 {
    color: var(--th-accent-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--th-border-light);
}

.th-field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.th-field-item {
    background: var(--th-bg-transparent);
    /*padding: 1rem 0px;*/
    border-radius: var(--th-radius-sm);
    /*border: 1px solid var(--th-border-light);*/
}
.acf-fields.-border{
    border:none !important;
    background: transparent !important;
}
.acf-fields>.acf-tab-wrap {
    background: rgb(255 255 255 / 70%);
}
.th-field-item label {
    display: block;
    color: var(--th-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.acf-tab-group li.active a.acf-tab-button{
        color: #e8221a;
}
.th-field-item p {
    color: var(--th-text-secondary);
    margin: 0;
    font-size:15px;
    word-break: break-word;
}

/* Competitors List */
.th-competitors-list {
    display: grid;
    gap: 1rem;
}

.th-competitor-item {
    background: var(--th-bg-primary);
    padding: 1.25rem;
    border-radius: var(--th-radius-sm);
    border-left: 3px solid var(--th-accent-primary);
}

.th-competitor-item h4 {
    color: var(--th-accent-primary);
    margin-bottom: 0.5rem;
}

.th-competitor-item p {
    color: var(--th-text-secondary);
    margin: 0;
}

/* Hotspots Grid */
.th-hotspots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.th-hotspot-card {
    background: var(--th-bg-primary);
    padding: 1.25rem;
    border-radius: var(--th-radius-sm);
    /*border: 1px solid var(--th-border-light);*/
    transition: var(--th-transition);
}

.th-hotspot-card:hover {
    transform: translateY(-2px);
    border-color: var(--th-accent-primary);
}

.th-hotspot-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--th-accent-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.th-hotspot-card h4 {
    color: var(--th-text-primary);
    margin-bottom: 0.5rem;
}

.th-hotspot-card p {
    color: var(--th-text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Table Styles */
.th-table-wrapper {
    overflow-x: auto;
    background: var(--th-bg-primary);
    border-radius: var(--th-radius-sm);
}

.th-floor-plans-table {
    width: 100%;
    border-collapse: collapse;
}

.th-floor-plans-table thead {
    background: var(--th-bg-tertiary);
}

.th-floor-plans-table th {
    padding: 1rem;
    text-align: left;
    color: var(--th-accent-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--th-border-color);
}

.th-floor-plans-table td {
    padding: 1rem;
    color: var(--th-text-primary);
    border-bottom: 1px solid var(--th-border-light);
}

.th-floor-plans-table tbody tr:hover {
    background: var(--th-bg-hover);
}

/* Notice Styles */
.th-notice {
    padding: 1rem 1.5rem;
    border-radius: var(--th-radius-sm);
    background: var(--th-bg-tertiary);
    /*border: 1px solid var(--th-border-color);*/
    color: var(--th-text-primary);
    margin-bottom: 1.5rem;
}

.th-notice-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--th-accent-danger);
    color: var(--th-accent-danger);
}

/* Progress Bar */
.th-form-progress {
    /*position: sticky;*/
    top: 0;
    z-index: 100;
    /*background: var(--th-bg-primary);*/
    padding: 1rem 0;
    /*margin-bottom: 2rem;*/
}

.th-progress-bar {
    height: 4px;
    background: var(--th-bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.th-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 33%);
    background: linear-gradient(90deg, var(--th-accent-primary), var(--th-accent-secondary));
    transition: width 0.3s ease;
}

/* Loading States */
.th-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.th-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--th-bg-tertiary);
    border-top-color: var(--th-accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.th-acf-2col {
	display: flex;
	flex-wrap: wrap;
    gap: 20px;
}
.th-acf-2col .acf-field {
	margin: 0
}
.th-acf-2col .acf-field-full {
	grid-column: 1/-1
}
.th-acf-2col > .acf-field.acf-field-group, .acf-field.acf-field-textarea.acf-field-website-copy {
    width: calc(50% - 20px);
    padding: 15px 0px;
}
.acf-fields>.acf-field {
    padding: 15px 0px !important
}
.th-acf-2col > .acf-fields>.acf-tab-wrap .acf-tab-group li a:hover {
    color: #e8221a;
}
.th-acf-2col .acf-field.acf-field-text.acf-field--post-title, .th-acf-2col .acf-tab-wrap.-top {
     width: 100%;  
}
.acf-field.acf-field-repeater.acf-field-hotspots {
    width: 100%;
}
.acf-tab-wrap.-top {
    overflow: hidden;
    margin-bottom: -20px;
}
.acf-field.acf-field-repeater.acf-field-competitors {
    width: 100%;
}
.acf-field.acf-field-repeater.acf-field-hotspots th:nth-child(2) {
    width: 20% !important;
}
.acf-field.acf-field-repeater.acf-field-hotspots th:first-child, .acf-field.acf-field-repeater.acf-field-hotspots th:last-child {
    width: 5% !important;
    max-width: 40px !important;
}








/*--------------------------------------------------------------
    Footer Elements
-------------------------------------------------------------- */









/*--------------------------------------------------------------
    Media Query Elements
-------------------------------------------------------------- */
@media screen and (max-width: 1240px) {
    
}
@media screen and (max-width: 1200px) {
    
}
@media screen and (max-width: 1140px) {
    
}
@media screen and (max-width: 980px) {
    
}
@media screen and (max-width: 767px) {
    .mobile-br{
    display:none;
    }
}
@media screen and (max-width: 640px) {
    
}
@media screen and (max-width: 480px) {
    
}
@media screen and (max-width: 320px) {
    
}


/* Responsive Design */
@media (max-width: 1024px) {
    .th-projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .th-field-grid {
        grid-template-columns: 1fr;
    }
.acf-field.acf-field-group {
    width: 50%;
}
}

@media (max-width: 768px) {
    .th-projects-container,
    .th-project-form-container,
    .th-project-view-container {
        padding: 1rem;
    }
    .th-acf-2col > .acf-field.acf-field-group,  .acf-field.acf-field-textarea.acf-field-website-copy  {
        width: 100%;
    }
    .th-projects-header,
    .th-form-header,
    .th-view-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .th-view-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .th-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .th-phase-tabs,
    .th-tab-btn {
        font-size: 0.875rem;
    }
    
    .th-tab-btn {
        padding: 0.75rem 1rem;
    }
    
    .th-hotspots-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .th-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .th-project-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .th-project-actions .th-btn {
        width: 100%;
        justify-content: center;
    }
    
    .th-meta-item {
        font-size: 0.75rem;
    }
    
    .th-field-section {
        padding: 1rem;
    }
    
    .acf-form {
        padding: 1rem;
    }
}

/* Dark Mode Form Element Improvements */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
    color: var(--th-text-muted);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--th-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--th-bg-hover);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--th-accent-primary);
}

/* Print Styles */
@media print {
    .th-btn,
    .th-btn-back,
    .th-phase-tabs,
    .th-project-actions {
        display: none !important;
    }
    
    .th-projects-container,
    .th-project-view-container {
        background: white;
        color: black;
    }
    
    .th-field-section {
        page-break-inside: avoid;
    }
}

/* Accessibility */
.th-btn:focus,
.th-tab-btn:focus,
button:focus,
a:focus {
    /*outline: 2px solid var(--th-accent-primary);*/
    /*outline-offset: 2px;*/
}

/* Skip to content link */
.th-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--th-accent-primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0 0 var(--th-radius-sm) 0;
    z-index: 1000;
}

.th-skip-link:focus {
    top: 0;
}

/* Status Indicators */
.th-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.th-status-draft {
    background: rgba(251, 191, 36, 0.1);
    color: var(--th-accent-warning);
}

.th-status-published {
    background: rgba(16, 185, 129, 0.1);
    color: var(--th-accent-success);
}

.th-status-pending {
    background: rgba(99, 102, 241, 0.1);
    color: var(--th-accent-primary);
}
/* Additional CSS for new shortcodes - add to your existing CSS */

/* Action Cards for Project Form Default View */
.th-project-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.th-action-card {
    background: rgba(255, 255, 255, 0.75);
    /*border: 1px solid var(--th-border-light);*/
    border-radius: var(--th-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--th-transition);
    position: relative;
    overflow: hidden;
}

.th-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--th-shadow-lg);
    border-color: var(--th-accent-primary);
}

.th-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--th-accent-primary), var(--th-accent-secondary));
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.th-action-card:hover::before {
    transform: translateX(0);
}

.th-action-icon {
    margin-bottom: 1.5rem;
}

.th-action-icon svg {
    color: var(--th-accent-primary);
}

.th-action-card h3 {
    color: var(--th-text-secondary);
    margin-bottom: 1rem;
}

.th-action-card p {
    color: var(--th-text-secondary);
    margin-bottom: 2rem;
    font-size:15px;
    line-height:1.1;
}

/* Dashboard Styles */
.th-project-dashboard {
    background: var(--th-bg-primary);
    color: var(--th-text-primary);
    min-height: 100vh;
    padding: 2rem;
}

.th-dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--th-border-light);
}

.th-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.th-dashboard-section {
    background: var(--th-bg-secondary);
    border-radius: var(--th-radius-md);
    padding: 1.5rem;
    /*border: 1px solid var(--th-border-light);*/
}

.th-dashboard-section h3 {
    color: var(--th-accent-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--th-border-light);
}

.th-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.th-recent-projects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.th-recent-project-item {
    background: var(--th-bg-primary);
    padding: 1rem;
    border-radius: var(--th-radius-sm);
    /*border: 1px solid var(--th-border-light);*/
    transition: var(--th-transition);
}

.th-recent-project-item:hover {
    border-color: var(--th-accent-primary);
    transform: translateX(4px);
}

.th-recent-project-item h4 {
    margin-bottom: 0.5rem;
}

.th-recent-project-item h4 a {
    color: var(--th-text-primary);
    text-decoration: none;
    transition: var(--th-transition);
}

.th-recent-project-item h4 a:hover {
    color: var(--th-accent-primary);
}

.th-project-date {
    color: var(--th-text-muted);
    font-size: 0.875rem;
}

.th-dashboard-full {
    background: var(--th-bg-secondary);
    border-radius: var(--th-radius-lg);
    padding: 2rem;
    /*border: 1px solid var(--th-border-light);*/
}

.th-dashboard-full h3 {
    color: var(--th-accent-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    /*border-bottom: 1px solid var(--th-border-light);*/
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .th-project-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .th-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .th-action-card {
        padding: 1.5rem;
    }
    
    .th-quick-actions {
        justify-content: center;
    }
}

