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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    min-height: 100vh;
}

.navbar {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-menu a:hover {
    color: #b2ebf2;
}

.navbar-menu button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-menu button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.loading {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 188, 212, 0.3);
    border-top-color: #00bcd4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.page-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.page-section h2 {
    color: #006064;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #37474f;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0f7fa;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00bcd4;
}

.btn {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    background: #78909c;
    margin-left: 0.5rem;
}

.btn-secondary:hover {
    box-shadow: 0 4px 15px rgba(120, 144, 156, 0.4);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trip-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.trip-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.trip-card-content {
    padding: 1.5rem;
}

.trip-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #006064;
    margin-bottom: 0.5rem;
}

.trip-card-destination {
    color: #00bcd4;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.trip-card-date {
    color: #78909c;
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00bcd4 0%, #b2ebf2 100%);
    border-radius: 3px;
}

.timeline-day {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-day::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: #00bcd4;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.timeline-day-header {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.timeline-day-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #006064;
}

.timeline-day-date {
    color: #00838f;
    font-size: 0.9rem;
}

.timeline-item {
    background: white;
    border-left: 4px solid #00bcd4;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #fafafa;
}

.timeline-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.timeline-item-time {
    font-weight: 600;
    color: #00bcd4;
}

.timeline-item-type {
    background: #e0f7fa;
    color: #00838f;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.timeline-item-location {
    font-weight: 600;
    color: #37474f;
    margin-bottom: 0.25rem;
}

.timeline-item-address {
    color: #78909c;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-item-content {
    color: #546e7a;
    margin-bottom: 0.5rem;
}

.timeline-item-cost {
    color: #ff7043;
    font-weight: 600;
}

.timeline-item-images {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.timeline-item-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.toast.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.toast.info {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.empty-state {
    text-align: center;
    padding: 4rem;
    color: #78909c;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal {
    transform: scale(1);
}

.modal h3 {
    margin-bottom: 1.5rem;
    color: #006064;
}

.modal-close {
    float: right;
    cursor: pointer;
    font-size: 1.5rem;
    color: #78909c;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.sortable-item {
    cursor: move;
    user-select: none;
}

.sortable-item.dragging {
    opacity: 0.5;
    transform: scale(1.02);
}

.sortable-placeholder {
    border: 2px dashed #00bcd4;
    border-radius: 8px;
    min-height: 60px;
    margin-bottom: 1rem;
}

.collaborator-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.online-badge {
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    border: 2px solid white;
    position: absolute;
    bottom: 0;
    right: 0;
}

.search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0f7fa;
    border-radius: 8px;
    font-size: 1rem;
}

.search-bar input:focus {
    outline: none;
    border-color: #00bcd4;
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
        padding: 1rem;
        gap: 1rem;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: flex;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 1rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-day::before {
        left: -1.5rem;
    }
}