/* Trip Header Updates */
.trip-header {
    background: linear-gradient(135deg, #58a6ff 0%, #4493f8 50%, #388bfd 100%);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.trip-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trip-info {
    flex: 1;
}

.trip-title {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    color: white;
}

.trip-dates {
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Back button specific styling */
.back-btn {
    background: rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.back-btn:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Trip Navigation Buttons */
.trip-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: #161b22;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid #30363d;
}

.trip-nav-buttons .nav-btn {
    background: transparent;
    border: 1px solid #30363d;
    color: #8b949e;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trip-nav-buttons .nav-btn:hover {
    background: #21262d;
    border-color: #484f58;
    color: #f0f6fc;
}

.trip-nav-buttons .nav-btn.active {
    background: #58a6ff;
    border-color: #58a6ff;
    color: #ffffff;
}

.trip-info {
    flex: 1;
}

.trip-info .trip-title {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.trip-info .trip-dates {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.25rem 0 0 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Planning Item Cards */
.planning-item {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.planning-item:hover {
    background: #21262d;
    border-color: #484f58;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.planning-item .item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.planning-item .item-header h4 {
    color: #ffffff;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.planning-item .item-actions {
    display: flex;
    gap: 0.5rem;
}

.planning-item .item-actions button {
    background: linear-gradient(135d, #5856d6, #4c46c7);
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.planning-item .item-actions button:hover {
    background: linear-gradient(135deg, #4c46c7, #3f3aab);
    transform: scale(1.05);
}

.planning-item .item-details p {
    margin: 0.5rem 0;
    color: #e0e0e0;
    line-height: 1.5;
}

.planning-item .item-details p:first-child {
    margin-top: 0;
}

.planning-item .item-details strong {
    color: #ffffff;
    font-weight: 600;
}

.planning-item .item-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #3a3a3c;
}

.planning-item .item-footer small {
    color: #999;
    font-size: 0.85rem;
}

/* Activity specific styling */
.activity-item {
    border-left: 4px solid #667eea;
}

.activity-item .item-header h4::before {
    content: '🎯 ';
    margin-right: 0.5rem;
}

/* Meal specific styling */
.meal-item {
    border-left: 4px solid #50c878;
}

.meal-item .item-header h4::before {
    content: '🍽️ ';
    margin-right: 0.5rem;
}

/* Travel specific styling */
.travel-item {
    border-left: 4px solid #ff6b6b;
}

.travel-item .item-header h4::before {
    content: '🚗 ';
    margin-right: 0.5rem;
}

/* Flight specific styling */
.flight-item {
    border-left: 4px solid #4ecdc4;
}

.flight-item .item-header h4::before {
    content: '✈️ ';
    margin-right: 0.5rem;
}

/* Meal Signup Buttons */
.planning-item .signup-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #3a3a3c;
}

.signup-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Cook button */
.signup-btn.cook {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
}

.signup-btn.cook:hover {
    background: linear-gradient(135deg, #ff5252, #ff4444);
}

/* Clean button */
.signup-btn.clean {
    background: linear-gradient(135deg, #4ecdc4, #26c6da);
    color: white;
}

.signup-btn.clean:hover {
    background: linear-gradient(135deg, #26c6da, #00bcd4);
}

/* Join/Eat button */
.signup-btn.join {
    background: linear-gradient(135deg, #50c878, #4caf50);
    color: white;
}

.signup-btn.join:hover {
    background: linear-gradient(135deg, #4caf50, #43a047);
}

/* Generic signup button */
.signup-btn:not(.cook):not(.clean):not(.join) {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.signup-btn:not(.cook):not(.clean):not(.join):hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

/* Signed up state */
.signup-btn.signed-up {
    background: #2c2c2e;
    color: #4caf50;
    cursor: not-allowed;
    border: 1px solid #4caf50;
}

.signup-btn.signed-up:hover {
    transform: none;
    box-shadow: none;
    background: #2c2c2e;
}

/* Today View Styles */
.today-view {
    background: #161b22;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #30363d;
    backdrop-filter: blur(10px);
}

.today-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.today-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #f0f6fc;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.day-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.day-navigation .nav-btn {
    background: #58a6ff;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
}

.day-navigation .nav-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
    background: #4493f8;
}

.day-navigation .nav-btn:disabled {
    background: #21262d;
    color: #8b949e;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #30363d;
}

.current-day {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f0f6fc;
    min-width: 180px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.today-view .timeline-container {
    position: relative;
    background: #0d1117;
    border-radius: 12px;
    padding: 20px;
    min-height: 600px;
    overflow-y: auto;
    border: 1px solid #30363d;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.today-view .timeline-hour {
    display: flex;
    align-items: flex-start;
    min-height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    position: relative;
    margin-bottom: 0;
    background: transparent;
    transition: background 0.2s ease;
}

.today-view .timeline-hour:hover {
    background: rgba(255, 255, 255, 0.02);
}

.today-view .timeline-hour:last-child {
    border-bottom: none;
}

.today-view .hour-label {
    font-size: 0.95rem;
    color: #a0a0a5;
    width: 70px;
    flex-shrink: 0;
    padding-right: 20px;
    text-align: right;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0.5px;
}

.today-view .hour-events {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.today-view .timeline-event {
    background: #58a6ff;
    color: white;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(88, 166, 255, 0.3);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.today-view .timeline-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.today-view .timeline-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.today-view .timeline-event:hover::before {
    opacity: 1;
}

.today-view .timeline-event.flight {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
    box-shadow: 0 3px 8px rgba(255, 149, 0, 0.3);
}

.today-view .timeline-event.flight:hover {
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.5);
}

.today-view .timeline-event.meal {
    background: linear-gradient(135deg, #30d158, #28a745);
    box-shadow: 0 3px 8px rgba(48, 209, 88, 0.3);
}

.today-view .timeline-event.meal:hover {
    box-shadow: 0 6px 20px rgba(48, 209, 88, 0.5);
}

.today-view .timeline-event.activity {
    background: linear-gradient(135deg, #ff2d92, #d70466);
    box-shadow: 0 3px 8px rgba(255, 45, 146, 0.3);
}

.today-view .timeline-event.activity:hover {
    box-shadow: 0 6px 20px rgba(255, 45, 146, 0.5);
}

.today-view .timeline-event.travel {
    background: linear-gradient(135deg, #5856d6, #4c46c7);
    box-shadow: 0 3px 8px rgba(88, 86, 214, 0.3);
}

.today-view .timeline-event.travel:hover {
    box-shadow: 0 6px 20px rgba(88, 86, 214, 0.5);
}

.today-view .event-title {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.today-view .event-details {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
}

.today-view .current-time-indicator {
    position: absolute;
    left: 90px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #ff2d92, #ff6b9d);
    border-radius: 2px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(255, 45, 146, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.today-view .current-time-indicator::before {
    content: '';
    position: absolute;
    left: -6px;
    top: -4px;
    width: 11px;
    height: 11px;
    background: linear-gradient(135deg, #ff2d92, #ff6b9d);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(255, 45, 146, 0.4);
}

.today-view .no-events-message {
    text-align: center;
    color: #a0a0a5;
    font-style: italic;
    padding: 60px 20px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    margin: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal scrolling */
    * {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Trip navigation responsive */
    .trip-nav-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem;
        width: 100% !important;
        max-width: calc(100vw - 2rem) !important;
        overflow-x: hidden !important;
    }
    
    .trip-nav-buttons .nav-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* Trip header responsive */
    .trip-header {
        margin-bottom: 0.75rem;
        border-radius: 12px;
        padding: 0.75rem;
    }
    
    .trip-title {
        font-size: 1.25rem;
    }
    
    .trip-dates {
        font-size: 0.85rem;
    }
    
    .trip-nav {
        gap: 0.5rem;
    }
    
    .today-view {
        margin: 16px 0;
        padding: 20px 16px;
        border-radius: 12px;
        width: 100% !important;
        max-width: calc(100vw - 2rem) !important;
        overflow-x: hidden !important;
    }
    
    .today-view .today-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-bottom: 20px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .day-navigation {
        gap: 16px;
        padding: 10px 14px;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .day-navigation .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .current-day {
        font-size: 1.1rem;
        min-width: 160px;
        max-width: 100% !important;
        text-align: center;
    }
    
    .today-view .timeline-container {
        padding: 16px;
    }
    
    .today-view .timeline-hour {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 12px 0;
    }
    
    .today-view .hour-label {
        width: 100%;
        text-align: left;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 12px;
        padding-right: 0;
    }
    
    .today-view .hour-events {
        width: 100%;
    }
    
    .today-view .current-time-indicator {
        left: 16px;
    }
    
    .today-view .timeline-event {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Trip Members Management Styles */
.members-management {
    margin: 30px 0;
    padding: 24px;
    background: #161b22;
    border-radius: 12px;
    border: 1px solid #30363d;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.members-management h3 {
    color: #f0f6fc;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.members-management h4 {
    color: #f0f6fc;
    margin: 24px 0 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.trip-members-list {
    margin-bottom: 24px;
}

.member-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 16px 20px;
    background: #0d1117;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #21262d;
    transition: all 0.3s ease;
}

.member-item:hover {
    background: #161b22;
    border-color: #30363d;
    transform: translateY(-1px);
}

.member-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff, #0051d5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.member-details {
    flex: 1;
}

.member-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.member-email {
    color: #a0a0a5;
    font-size: 0.9rem;
}

.member-role {
    background: linear-gradient(135deg, #30d158, #28a745);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 12px;
}

.member-role.owner {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
}

.member-actions {
    display: flex;
    gap: 8px;
}

.remove-member-btn {
    background: linear-gradient(135deg, #ff453a, #d70466);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-member-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 69, 58, 0.3);
}

.remove-member-btn:disabled {
    background: #3a3a3c;
    color: #8e8e93;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.share-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-by-username,
.share-by-email {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.share-by-username label,
.share-by-email label {
    color: #ffffff;
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 1rem;
}

.share-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.share-input-group input {
    flex: 1;
    padding: 12px 16px;
    background: #2c2c2e;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.share-input-group input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.share-input-group input::placeholder {
    color: #8e8e93;
}

.btn-secondary {
    background: linear-gradient(135deg, #5856d6, #4c46c7);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 86, 214, 0.3);
}

.share-by-email small {
    display: block;
    color: #8e8e93;
    font-size: 0.85rem;
    margin-top: 8px;
    font-style: italic;
}

.empty-members {
    text-align: center;
    padding: 40px 20px;
    color: #8e8e93;
    font-style: italic;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

/* Responsive Design for Members Management */
@media (max-width: 768px) {
    .share-options {
        gap: 16px;
    }
    
    .share-input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .share-input-group input {
        width: 100%;
    }
    
    .btn-secondary {
        width: 100%;
    }
    
    .member-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .member-info {
        width: 100%;
    }
    
    .member-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ===== PACKING LIST STYLES ===== */

#packingView {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.packing-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.packing-controls h2 {
    color: #f0f6fc;
    margin: 0;
    font-size: 1.5rem;
}

.packing-list-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.packing-list-card:hover {
    background: #21262d;
    border-color: #484f58;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.packing-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.packing-list-info .packing-list-name {
    color: #f0f6fc;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.packing-list-meta {
    display: flex;
    gap: 1rem;
    color: #8b949e;
    font-size: 0.9rem;
}

.packing-list-trip {
    color: #58a6ff;
    font-weight: 500;
}

.packing-progress {
    color: #7c3aed;
    font-weight: 500;
}

.packing-list-actions {
    display: flex;
    gap: 0.5rem;
}

.packing-items-preview {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.category-preview {
    margin: 0.5rem 0;
    color: #8b949e;
}

.category-preview strong {
    color: #f0f6fc;
}

.packing-list-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #21262d;
}

.no-data, .no-items {
    text-align: center;
    color: #8b949e;
    font-style: italic;
    padding: 2rem;
}

/* Packing Items Detail View */
.packing-category {
    margin: 1.5rem 0;
}

.category-header {
    color: #58a6ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #30363d;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.packing-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.packing-item:hover {
    background: #161b22;
    border-color: #30363d;
}

.packing-item.packed {
    opacity: 0.7;
    background: #0f1419;
}

.packing-item.packed .item-name {
    text-decoration: line-through;
    color: #8b949e;
}

.item-checkbox {
    display: flex;
    align-items: center;
    padding-top: 2px;
}

.item-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #58a6ff;
}

.item-info {
    flex: 1;
}

.item-name {
    color: #f0f6fc;
    font-weight: 500;
    font-size: 0.95rem;
}

.item-quantity {
    color: #7c3aed;
    font-weight: 500;
    margin-left: 0.5rem;
}

.item-notes {
    color: #8b949e;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.btn-icon.btn-sm {
    padding: 0.4rem;
    font-size: 0.8rem;
}

/* Packing List Form Modal Styles */
#createPackingListModal .modal-body,
#addPackingItemModal .modal-body {
    background: #161b22;
}

#createPackingListModal .form-group,
#addPackingItemModal .form-group {
    margin-bottom: 1.5rem;
}

#createPackingListModal label,
#addPackingItemModal label {
    color: #f0f6fc;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

#createPackingListModal input,
#createPackingListModal select,
#addPackingItemModal input,
#addPackingItemModal select,
#addPackingItemModal textarea {
    background: #0d1117;
    border: 1px solid #30363d;
    color: #f0f6fc;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

#createPackingListModal input:focus,
#createPackingListModal select:focus,
#addPackingItemModal input:focus,
#addPackingItemModal select:focus,
#addPackingItemModal textarea:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

#createPackingListModal textarea,
#addPackingItemModal textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #30363d;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .packing-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .packing-list-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .packing-list-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .packing-list-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .packing-item {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .item-checkbox {
        align-self: flex-start;
    }
    
    .item-actions {
        align-self: flex-end;
        width: 100%;
        justify-content: flex-end;
    }
}