/**
 * CCC Goals Styles - CCC Core Component Extensions
 * 
 * Styles for Goals management using CCC Core components:
 * - Goal cards using CCC Core card system
 * - Goal forms using CCC Core form components
 * - Goal modal using CCC Core modal components
 * - CCC Core grid system integration
 */

/* START GOALS CONTAINER STYLES - Using CCC Core Components */

.ccc-goals-container {
    padding: 0;
    border-radius: 5px;
    margin-bottom: 20px;
}

.ccc-goals-container h2 {
    margin-top: 0;
    color: #2271b1;
}

.ccc-goals-container .form-row {
    margin-bottom: 15px;
    padding-left: 0;
}

.ccc-goals-container .form-section {
    margin-bottom: 20px;
}

.ccc-goals-container .section-label {
    display: block;
    margin-bottom: 5px;
}

/* Goals Section Styles */
.goals-section {
    margin-top: 1.5rem;
}

/* NO CUSTOM GRID STYLING - ALL GRID STYLING COMES FROM CCC CORE */
/* Goals now use ccc-grid from CCC Core components.css */

/* END GOALS CONTAINER STYLES */

/* =============================================================================
   CCC CORE COMPONENT EXTENSIONS
   ============================================================================= */

/* Context-specific overrides for cards in notes container */
.ccc-note-container .ccc-card.goal-card {
    background: #ffffff; /* White cards on grey background */
}

/* Context-specific overrides for ghost cards in notes container */
.ccc-note-container .ccc-ghost-card {
    background: #ffffff; /* White ghost cards on grey background */
    border-color: #e35c5c; /* Use CCC primary color for border */
}

/* Goals-specific field styling within CCC Core cards */
.ccc-goals-container .goal-field {
    margin-bottom: 12px;
}

.ccc-goals-container .goal-field label {
    display: block;
    font-weight: 600;
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ccc-goals-container .goal-field-value {
    font-size: 14px;
    color: #333;
}

/* Ensure CCC Core card styles take precedence */
.ccc-goals-container .ccc-card {
    /* CCC Core handles all card styling */
    position: relative; /* Required for absolute positioning of icons */
}

/* =============================================
 * UNIVERSAL ICON STYLES - MATCHING CORE-ISSUES
 * ============================================= */
/* Universal styling for archive, delete, and milestone icons - consistent with core-issues */
.archive-icon,
.delete-icon,
.milestone-icon {
    position: absolute !important;
    font-size: 20px !important;
    cursor: pointer !important;
    top: 15px !important;
    color: #6c757d !important; /* Grey by default */
    transition: all 0.2s ease !important;
    z-index: 10 !important; /* Ensure visibility above card content */
}

/* When both milestone and archive icons are present, position them side by side */
.milestone-icon {
    right: 50px !important; /* Position milestone icon to the left of archive icon */
}

.archive-icon {
    right: 15px !important; /* Archive icon in the rightmost position */
}

/* Single icon positioning (when only archive icon is present) */
.ccc-card:not(:has(.milestone-icon)) .archive-icon {
    right: 15px !important;
}

.archive-icon:hover,
.delete-icon:hover,
.milestone-icon:hover {
    color: #dc3545 !important; /* Bootstrap red on hover for all icons */
    transform: scale(1.1) !important; /* Slight scale effect */
}

/* START GOAL MODAL STYLES - MATCHES CORE ISSUES MODAL EXACTLY */

/* Modal - matches session booking modal exactly with center alignment */
.modal {
    display: none;
    position: fixed !important;
    z-index: 999999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.modal.visible,
.modal:not(.hidden) {
    display: flex !important;
}

.modal.hidden {
    display: none !important;
}

/* More specific selector to override global notes.css modal-content padding */
#goal-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

#goal-modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #777;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#goal-modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.modal-footer {
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-section {
    margin-bottom: 15px;
}

.modal-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.modal-section input[type="text"],
.modal-section input[type="date"],
.modal-section select,
.modal-section textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Remove old black header styling */
.modal-header.modal-header-black {
    background-color: #f8f8f8;
    color: #333;
}

.modal-header h2 {
    display: none;
}

/* Select client message styling */
.select-client-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background-color: transparent;
}

.select-client-message p {
    font-size: 1.1em;
    margin: 0;
}

/* END GOAL MODAL STYLES */

/* =============================================================================
   HEADER AND BUTTON STYLES (Matching Wins Page)
   ============================================================================= */

.notes-header-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove h3 font-size override to allow CCC Core styles to be inherited */
.notes-header-section h3 {
    margin: 0;
    font-weight: 600;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* NO CUSTOM BUTTON STYLING - ALL STYLING COMES FROM CCC CORE */

/* =============================================================================
   FORM CONTROL STYLES (Matching Wins Page)
   ============================================================================= */

/* Client dropdown styling to match wins form exactly */
.ccc-goals-container .ccc-form-group {
    width: 250px;
}

.ccc-goals-container .ccc-form-control {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    height: 40px;
    font-size: 14px;
    font-weight: normal;
    color: #333;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.ccc-goals-container .ccc-form-control:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

/* Form group styling to match wins */
.ccc-goals-container .ccc-form-group {
    margin-bottom: 15px;
}

.ccc-goals-container .ccc-form-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

/* Container form row styling to match wins */
.ccc-goals-container .form-row {
    margin-bottom: 15px;
    padding-left: 0;
}

/* START GOAL FORM STYLES */

.modal .char-count.char-count-warning {
    color: #d63384;
    background-color: #ffedef;
}

.modal .ccc-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.modal .ccc-form-control:focus {
    outline: none;
    border-color: var(--ccc-primary-color, #e35c5c);
    box-shadow: 0 0 0 3px rgba(227, 92, 92, 0.1);
}

.modal .ccc-form-control[type="textarea"],
.modal textarea.ccc-form-control {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.modal .ccc-form-control select {
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    appearance: none;
}

/* END GOAL FORM STYLES */

/* START BUTTON STYLES */

.button-container {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.ccc-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Buttons use pure CCC Core styling - no overrides */

/* START GHOST CARD STYLES */

.ccc-ghost-card {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px; /* Match goal card spacing */
}

.ccc-ghost-card:hover {
    border-color: var(--ccc-primary-color, #e35c5c);
    background: rgba(227, 92, 92, 0.05);
    transform: translateY(-2px);
}

.ccc-ghost-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ccc-ghost-card-icon {
    font-size: 48px;
    color: #bbb;
    transition: color 0.3s ease;
}

.ccc-ghost-card:hover .ccc-ghost-card-icon {
    color: var(--ccc-primary-color, #e35c5c);
}

.ccc-ghost-card h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #666;
    transition: color 0.3s ease;
}

.ccc-ghost-card:hover h3 {
    color: var(--ccc-primary-color, #e35c5c);
}

.ccc-ghost-card p {
    margin: 0;
    font-size: 0.9em;
    color: #999;
    transition: color 0.3s ease;
}

.ccc-ghost-card:hover p {
    color: #666;
}

/* END GHOST CARD STYLES */

/* START ELEGANT MILESTONE CELEBRATION ANIMATIONS */

@keyframes elegantFloat {
    0% {
        opacity: 0.8;
        transform: translateY(-20px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateY(-70px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-140px) scale(0.2) translateX(var(--random-x, 0));
    }
}

@keyframes starFloat {
    0% {
        opacity: 0.9;
        transform: translateY(-20px) scale(0.6) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-80px) scale(1.3) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-160px) scale(0.4) rotate(360deg);
    }
}

/* Add more dramatic randomness to particle movement for bigger spread */
.milestone-celebration div:nth-child(odd) {
    --random-x: 60px;
}

.milestone-celebration div:nth-child(even) {
    --random-x: -60px;
}

.milestone-celebration div:nth-child(3n) {
    --random-x: 100px;
}

.milestone-celebration div:nth-child(5n) {
    --random-x: -80px;
}

/* END ELEGANT MILESTONE CELEBRATION ANIMATIONS */

/* Related Wins Section Styling */
.related-wins-section {
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Trophy icon - 20% smaller than other goal date icons */
.related-wins-section .goal-date-icon {
    font-size: 11px !important; /* 20% smaller than standard 14px */
}

.related-wins-link {
    color: var(--ccc-primary-color, #e35c5c);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.related-wins-link:hover {
    color: var(--ccc-primary-color-dark, #d04848);
    text-decoration: underline;
}

/* START RESPONSIVE STYLES */

@media (max-width: 768px) {
    .ccc-goals-container {
    padding: 15px;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .label-counter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .char-count {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .goal-card {
        padding: 15px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 15px;
    }
    
    .ccc-ghost-card {
        padding: 30px 15px;
    }
    
    .ccc-ghost-card-icon {
        font-size: 36px;
    }
}

/* END RESPONSIVE STYLES */

/* START DEBUG STYLES */

.debug-info,
.debug-info-warning {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
    font-size: 0.9em;
    color: #495057;
}

.debug-info-warning {
    background: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.debug-info ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

/* END DEBUG STYLES */

/* SUCCESS/ERROR MESSAGES - Removed: Now using CCC Core notification system */

/* =============================================================================
   AUTO-SAVE AND TOGGLE STYLES
   ============================================================================= */

/* Goal card footer for auto-save and toggle */
.ccc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    margin-top: auto;
}

/* Auto-save indicator styles */
.auto-save-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auto-save-indicator .status-icon {
    font-size: 14px;
}

/* Auto-save status colors */
.auto-save-indicator.status-enabled {
    color: #28a745;
}

.auto-save-indicator.status-pending {
    color: #ffc107;
}

.auto-save-indicator.status-saving {
    color: #17a2b8;
}

.auto-save-indicator.status-saved {
    color: #28a745;
}

.auto-save-indicator.status-error {
    color: #dc3545;
}

/* Editable goal fields */
.goal-description {
    width: 100%;
    min-height: 60px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.goal-description:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.goal-target-date {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.goal-target-date:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Toggle switch styles */
.goal-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.goal-toggle-container .toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.goal-toggle-container .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.goal-toggle-container .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.goal-toggle-container .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.goal-toggle-container input:checked + .toggle-slider {
    background-color: #28a745;
}

.goal-toggle-container input:focus + .toggle-slider {
    box-shadow: 0 0 1px #28a745;
}

.goal-toggle-container input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 12px;
    font-weight: 500;
    color: #495057;
    min-width: 60px;
}

/* Goal field styling improvements */
.goal-field {
    margin-bottom: 15px;
}

.goal-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #495057;
    font-size: 13px;
}

/* Ensure cards have proper layout for footer */
.goal-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative; /* Ensure proper stacking context for badges */
    overflow: visible !important; /* Override CCC Core overflow: hidden to allow badges to show */
    margin-bottom: 25px; /* Additional spacing between cards */
}

.goal-card .ccc-card-body {
    flex: 1;
}

/* END AUTO-SAVE AND TOGGLE STYLES */

/* =============================================================================
   GOALS PHASE 1 LAYOUT - NEW STRUCTURE
   ============================================================================= */

/* Card Header Controls (matching core-issues positioning) */
.goal-card .card-header-controls {
    position: absolute;
    top: 16px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    height: 24px;
}

.goal-edit-icon {
    color: #ccc; /* Grayed out - not functional yet */
    font-size: 18px;
    cursor: default; /* No pointer cursor */
    padding: 4px;
    border-radius: 3px;
    opacity: 0.5;
}

.goal-archive-icon {
    color: #666;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px;
    border-radius: 3px;
}

.goal-archive-icon:hover {
    color: #333;
    background-color: rgba(0,0,0,0.1);
}

/* Description Text */
.goal-description-text {
    font-size: 14px;
    line-height: 1.5;
    color: #50575e;
    margin-bottom: 24px;
    padding: 0;
    min-height: 60px; /* Ensure consistent height (~3 lines) for better card alignment */
    display: flex;
    align-items: flex-start; /* Keep text at top when container is larger than content */
}

.goal-description-text em {
    color: #8c8f94;
    font-style: italic;
}

/* Date Information Container */
.goal-dates-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px; /* Increased from 16px to 28px for more space after description */
}

.goal-date-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
}

.goal-date-icon {
    font-size: 18px;
    color: var(--ccc-primary-color, #e35c5c);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Linked core issue value — keep card tidy with long titles */
.goal-linked-core-issue .goal-date-value {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.goal-linked-core-issue.is-preview .goal-date-value {
    /* Preview placeholder until ACF relationship is wired */
    opacity: 0.85;
}

.goal-date-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.goal-date-label {
    font-size: 12px;
    font-weight: 600;
    color: #646970;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.goal-date-value {
    font-size: 14px;
    color: #1d2327;
    word-wrap: break-word;
}

/* Auto-Save Status Container (matching core-issues structure) */
.goal-auto-save-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f1;
}

.goal-auto-save-status .auto-save-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #646970;
}

.goal-auto-save-status .auto-save-text {
    font-size: 12px;
}

.goal-auto-save-status .auto-save-icon {
    font-size: 14px;
    color: #00a32a;
}

/* Badges positioning (matching core-issues) */
.goal-card .card-top-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    z-index: 100 !important; /* Increased from 50 to 100 to ensure it's above card content */
    white-space: nowrap;
}

/* Custom purple badge for AI Draft goals */
.ccc-badge-purple {
    background-color: #b19cd9;
    color: #ffffff;
    border: 1px solid #9b86d3;
}

/* Grid padding for badge clearance and row spacing */
.ccc-grid {
    padding-top: 20px !important;
    padding-bottom: 30px !important; /* Increased spacing between card rows */
	align-items: stretch; /* Ensure all grid items share equal row height */
}

/* Force all cards in the goals grid to fill the grid track height */
.ccc-grid > .ccc-card,
.ccc-grid > .ccc-ghost-card {
	height: 100%;
}

/* Toggles Container - positioned right with consistent spacing */
.goal-toggles-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto; /* This pushes all toggles to the right */
    margin-right: 4px; /* Add some spacing from the right edge to match other card elements */
}

/* Individual Toggle Styling */
.goal-milestone-toggle,
.ai-approval-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.goal-milestone-toggle .toggle-label,
.ai-approval-toggle .toggle-label {
    font-size: 12px;
    font-weight: 600;
    color: #646970;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: right;
    min-width: 70px; /* Fixed width to prevent container jumping */
}

/* Toggle Switch Styles (shared by both toggles) */
.goal-milestone-toggle .toggle-switch,
.ai-approval-toggle .toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.goal-milestone-toggle .toggle-switch input,
.ai-approval-toggle .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.goal-milestone-toggle .toggle-slider,
.ai-approval-toggle .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f8a5a5;
    transition: 0.3s;
    border-radius: 24px;
}

.goal-milestone-toggle .toggle-slider:before,
.ai-approval-toggle .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.goal-milestone-toggle input:checked + .toggle-slider,
.ai-approval-toggle input:checked + .toggle-slider {
    background-color: #90c695;
}

.goal-milestone-toggle input:checked + .toggle-slider:before,
.ai-approval-toggle input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .goal-dates-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .goal-auto-save-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* END PHASE 1 LAYOUT STYLES */ 