* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.navbar-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 50px;
    width: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
    margin-top: 8px;
    margin-bottom: 0;
}

.logo-text sup {
    font-size: 20px;
    font-weight: 600;
    margin-left: 2px;
}

.logo-content {
    display: flex;
    flex-direction: column;
}

.tagline {
    color: #666;
    font-size: 14px;
    margin: 4px 0 0 0;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

.create-checklist-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.create-checklist-nav-btn:hover {
    background: #1a1a1a;
    color: white;
    text-decoration: none;
}

/* Contact Button */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #2c2c2c;
    border: 2px solid #2c2c2c;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-btn:hover {
    background: #2c2c2c;
    color: white;
    text-decoration: none;
}

.main-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
    overflow: hidden;
    min-height: 0;
}

.main-container > .container {
    height: 100%;
}

.main-container > .container > .row {
    height: 100%;
}

.main-container > .container > .row > [class*="col"] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-box {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    max-height: 100%;
}

.content-box::-webkit-scrollbar {
    width: 6px;
}

.content-box::-webkit-scrollbar-track {
    background: transparent;
}

.content-box::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.content-box::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Static Pages */
.static-page {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.static-page::-webkit-scrollbar {
    width: 6px;
}

.static-page::-webkit-scrollbar-track {
    background: transparent;
}

.static-page::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.static-page::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
}

.page-content {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.page-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 24px;
    margin-bottom: 12px;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content a {
    color: #333;
    text-decoration: underline;
}

.page-content a:hover {
    color: #000;
}

/* Form Header */
.form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}

.form-header .title-input {
    flex: 1;
    margin-bottom: 0;
}

/* Due Date */
.due-date-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.due-date-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.due-date-label i {
    font-size: 14px;
}

.due-date-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.due-date-input {
    padding: 4px 8px;
    border: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    width: 180px;
    transition: all 0.2s;
    cursor: pointer;
    line-height: 1;
}

.due-date-tooltip {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 12px;
    background: #333;
    color: white;
    font-size: 12px;
    font-family: 'Work Sans', sans-serif;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 1000;
}

.due-date-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
}

.due-date-tooltip-wrapper:hover .due-date-tooltip {
    opacity: 1;
    visibility: visible;
}

.due-date-time-left {
    font-size: 12px;
    color: #b71c1c;
    font-weight: 500;
    margin-top: 4px;
    text-align: center;
}

.due-date-input:hover {
    border-bottom-color: #ccc;
    background: #f8f9fa;
}

.due-date-input:focus {
    border-bottom-color: #333;
    background: #f8f9fa;
    border-color: #e0e0e0;
}

.due-date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    margin-left: 4px;
}

.due-date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Title Input */
.title-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 0;
    margin-bottom: 12px;
    outline: none;
}

.title-input::placeholder {
    color: #ccc;
}

.title-input:focus::placeholder {
    color: #999;
}

/* Description Input */
.description-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #666;
    padding: 0;
    margin-bottom: 20px;
    outline: none;
    resize: none;
    line-height: 1.5;
    overflow: hidden;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.description-input::placeholder {
    color: #aaa;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(to right, #e0e0e0, transparent);
    margin-bottom: 25px;
}

/* Checklist Items */
#itemsContainer {
    margin-bottom: 30px;
    max-height: 275px;
    overflow-y: auto;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: white;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    cursor: default;
}

.checklist-item.dragging {
    opacity: 0.5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.checklist-item.drag-over {
    border-top: 2px solid #333;
    margin-top: -2px;
}

.drag-handle {
    color: #ccc;
    font-size: 12px;
    cursor: grab;
    padding: 4px;
    transition: color 0.2s;
}

.drag-handle:hover {
    color: #888;
}

.drag-handle:active {
    cursor: grabbing;
}

.checklist-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.item-bullet {
    color: #ccc;
    font-size: 14px;
    transition: color 0.2s;
}

.checklist-item:hover .item-bullet {
    color: #667eea;
}

.item-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #333;
    outline: none;
    padding: 0;
}

.item-input::placeholder {
    color: #bbb;
}

.checklist-item .remove-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
    transition: all 0.2s;
}

.checklist-item:hover .remove-btn {
    opacity: 1;
}

.checklist-item .remove-btn:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

/* Create Button */
.create-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #333;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.create-btn:hover {
    background: #1a1a1a;
}

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

.create-btn:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

.create-btn:disabled:hover {
    background: #ccc;
}

.create-btn i {
    font-size: 14px;
}

/* Footer */
.site-footer {
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.footer-copyright a {
    color: #888;
    text-decoration: underline;
}

.footer-copyright a:hover {
    color: #333;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}

.footer-links a:hover {
    color: #333;
}

/* Confirmation Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.2s ease;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    z-index: 10;
    width: 32px;
    height: 32px;
}

.modal-close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

/* Contact Modal - Larger size, no scrollbar */
#contactModal .modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

#contactModal .modal-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

#contactModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#contactModal .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

#contactModal .modal-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

#contactModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    gap: 20px;
}

.modal-loader.active {
    display: flex;
}

.modal-loader p {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    padding: 24px 24px 0;
    margin: 0;
}

.modal-body {
    padding: 20px 24px;
}

.modal-checklist-preview {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.preview-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.preview-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 12px;
}

.preview-due {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-items li {
    font-size: 14px;
    color: #444;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-items li i {
    color: #ccc;
    font-size: 12px;
}

.modal-warning {
    background: #fff8e6;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #856404;
}

.modal-warning i {
    color: #f0ad4e;
    margin-top: 2px;
}

.modal-warning.modal-warning-info {
    background: #e8f4fd;
    border-color: #bee5eb;
    color: #0c5460;
    margin-top: 10px;
}

.modal-warning.modal-warning-info i {
    color: #17a2b8;
}

.modal-message {
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 16px;
}

.modal-message i {
    font-size: 20px;
    flex-shrink: 0;
}

.modal-message ul {
    margin: 8px 0 0 0;
    padding-left: 18px;
}

.modal-message li {
    margin-bottom: 4px;
}

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

.modal-message-error i {
    color: #dc3545;
}

.modal-message-success {
    background: transparent;
    border: none;
    color: #2c2c2c;
}

.modal-message-success i.fa-check-circle {
    color: #28a745;
}

.modal-message-success i:not(.fa-check-circle) {
    color: #2c2c2c;
}

.success-message-text {
    font-size: 18px;
    line-height: 1.6;
}

.modal-message-success a {
    color: #2c2c2c;
    word-break: break-all;
    text-decoration: underline;
    font-weight: 700;
    font-size: 16px;
}

.modal-message-success a:hover {
    color: #1a1a1a;
}

.url-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.url-display {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #2c2c2c;
    word-break: break-all;
    font-weight: 600;
    padding: 4px 0;
    letter-spacing: 0.3px;
    text-decoration: underline;
}

.url-display:hover {
    color: #1a1a1a;
}

.copy-url-btn {
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
    color: #2c2c2c;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 36px;
    height: 36px;
}

.copy-url-btn:hover {
    background: #e0e0e0;
}

.copy-url-btn.copied {
    background: #e0e0e0;
}

.copy-url-btn i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.copy-url-btn.copied i {
    transform: scale(1.2);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid #f0f0f0;
}

.modal-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.modal-btn-cancel {
    background: #f0f0f0;
    color: #666;
}

.modal-btn-cancel:hover {
    background: #e0e0e0;
}

.modal-btn-confirm {
    background: #333;
    color: white;
}

.modal-btn-confirm:hover {
    background: #000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar-section {
        padding: 15px 0;
    }
    
    .navbar-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-section .col-2,
    .navbar-section .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .navbar-section .col-2.text-right {
        text-align: center;
        margin-bottom: 0;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .logo-section img {
        height: 40px;
        width: 40px;
    }
    
    .logo-text {
        font-size: 30px;
    }
    
    .logo-text sup {
        font-size: 17px;
    }
    
    .tagline {
        font-size: 13px;
    }
    
    .main-container {
        padding: 20px 0;
    }
    
    .main-container .col-8 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }
    
    .content-box {
        min-height: auto;
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .title-input {
        font-size: 24px;
    }
    
    .description-input {
        font-size: 14px;
    }
    
    .checklist-item {
        padding: 10px 12px;
    }
    
    .item-input {
        font-size: 14px;
    }
    
    .create-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .navbar-actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .create-checklist-nav-btn,
    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .form-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .due-date-section {
        align-self: flex-start;
    }
    
    .due-date-input {
        width: 100%;
        max-width: 200px;
    }
    
    .site-footer {
        padding: 15px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
}

/* Small screens (max-width: 480px) */
@media (max-width: 480px) {
    .due-date-input {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 26px;
    }
    
    .logo-text sup {
        font-size: 15px;
    }
    
    .title-input {
        font-size: 20px;
    }
    
    .content-box {
        padding: 20px 15px;
    }
    
    .checklist-item {
        gap: 8px;
        padding: 8px 10px;
    }
    
    .item-bullet {
        font-size: 12px;
    }
    
    .item-input {
        font-size: 13px;
    }
}

/* Checklist View Styles */
.checklist-header {
    margin-bottom: 24px;
}

.checklist-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}

.checklist-title {
    flex: 1;
}


.checklist-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.checklist-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.checklist-due {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checklist-due i {
    font-size: 14px;
}

.checklist-time-left {
    font-size: 12px;
    color: #b71c1c;
    margin-left: 12px;
    font-weight: 500;
}

/* Progress Bar */
.progress-section {
    margin-bottom: 24px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.progress-percent {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Checklist Items View */
.checklist-items-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item-view {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.checklist-item-view:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.item-checkbox-container {
    position: relative;
    flex-shrink: 0;
}

.item-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.item-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: relative;
}

.checkbox-icon,
.checkbox-icon-checked {
    position: absolute;
    font-size: 20px;
    transition: all 0.2s ease;
}

.checkbox-icon {
    color: #ccc;
    opacity: 1;
}

.checkbox-icon-checked {
    color: #667eea;
    opacity: 0;
    transform: scale(0.8);
}

.item-checkbox:checked ~ .item-checkbox-label .checkbox-icon {
    opacity: 0;
    transform: scale(0.8);
}

.item-checkbox:checked ~ .item-checkbox-label .checkbox-icon-checked {
    opacity: 1;
    transform: scale(1);
}

.item-content-wrapper {
    flex: 1;
    min-width: 0;
}

.item-content {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 8px;
    word-wrap: break-word;
    transition: all 0.2s ease;
}

.item-content.completed {
    color: #999;
    text-decoration: line-through;
}

.item-note-section {
    margin-top: 8px;
}

.item-note-input {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-family: 'Work Sans', sans-serif;
    color: #666;
    outline: none;
    background: transparent;
    line-height: 1.5;
}

.item-note-input::placeholder {
    color: #bbb;
}

/* Complete Checklist Section */
.complete-checklist-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.complete-checklist-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #28a745;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.complete-checklist-btn:hover {
    background: #218838;
}

.complete-checklist-btn i {
    font-size: 16px;
}

/* Completed State */
.checklist-completed {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.completed-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d4edda;
    color: #155724;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.completed-badge i {
    font-size: 16px;
    color: #28a745;
}

.completed-summary-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.completed-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Complete Modal */
.complete-summary-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    color: #333;
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: border-color 0.2s;
}

.complete-summary-input:focus {
    border-color: #333;
}

.complete-summary-input::placeholder {
    color: #bbb;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* Disabled state for completed checklists */
.item-checkbox:disabled,
.item-note-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.item-checkbox:disabled ~ .item-checkbox-label {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 16px;
}

#contactModal .form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    font-family: 'Work Sans', sans-serif;
}

.form-group .required {
    color: #dc3545;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Work Sans', sans-serif;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    background: white;
}

.form-input:focus {
    border-color: #333;
}

.form-input::placeholder {
    color: #bbb;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Work Sans', sans-serif;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    font-family: 'Work Sans', sans-serif;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    font-family: 'Work Sans', sans-serif;
}

/* Mobile Responsive for Checklist View */
@media (max-width: 768px) {
    .checklist-title {
        font-size: 24px;
    }
    
    .checklist-description {
        font-size: 14px;
    }
    
    .checklist-item-view {
        padding: 12px;
        gap: 12px;
    }
    
    .item-content {
        font-size: 14px;
    }
    
    .item-note-input {
        font-size: 12px;
    }
    
    .progress-text,
    .progress-percent {
        font-size: 13px;
    }
    
    .complete-checklist-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .checklist-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .checklist-completed {
        align-self: flex-end;
    }
    
    .completed-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .checklist-title {
        font-size: 20px;
    }
    
    .checklist-item-view {
        padding: 10px;
        gap: 10px;
    }
    
    .item-content {
        font-size: 13px;
    }
    
    .checkbox-icon,
    .checkbox-icon-checked {
        font-size: 18px;
    }
    
    .item-checkbox-label {
        width: 20px;
        height: 20px;
    }
}
