@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap');

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #e8f4f8 0%, #d1e7dd 100%);
    min-height: 100vh;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 350px;
    background: white;
    padding: 30px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    height: 100vh;
    position: fixed;
}

.sidebar h2 {
    color: var(--primary-color, #006169);
    margin-bottom: 30px;
    font-size: 24px;
}

.control-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.control-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.color-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.color-controls > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-controls label {
    color: #555;
    flex: 1;
}

.color-controls input[type="color"] {
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.color-controls input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-controls input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.full-width {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Points Container Styles */
#pointsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.point-control {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.point-control input,
.point-control textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.point-control textarea {
    min-height: 80px;
    resize: vertical;
}

.point-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.point-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.move-up-btn, .move-down-btn {
    background: #e9ecef;
    color: #495057;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.primary-button {
    background: var(--primary-color, #006169);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.primary-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.primary-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 30px;
    margin-left: 350px;
}

/* Existing styles remain the same */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #E8F5F8;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

h1 {
    color: var(--primary-color, #006169);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    line-height: 1.2;
    font-family: 'Poetsen One', cursive;
    transition: color 0.3s ease;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary-color, #016473);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    min-height: 160px;
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
}

.number-box {
    width: 120px;
    height: 120px;
    background: var(--secondary-color, #BAE0EB);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(44, 120, 115, 0.2);
    border: 1px solid rgba(44, 120, 115, 0.3);
}

.timeline-item:nth-child(odd) .number-box {
    left: 0;
}

.timeline-item:nth-child(even) .number-box {
    right: 0;
}

.number {
    font-size: 4em;
    font-weight: bold;
    color: var(--primary-color, #016473);
}

.content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color, #2c7873);
    position: absolute;
    width: 45%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .content {
    right: 0;
}

.timeline-item:nth-child(even) .content {
    left: 0;
}

.timeline-item:nth-child(odd) .connector-line {
    position: absolute;
    left: 120px;
    top: 60px;
    width: calc(50% - 120px - 10px);
    height: 4px;
    background: var(--primary-color, #016473);
}

.timeline-item:nth-child(even) .connector-line {
    position: absolute;
    right: 120px;
    top: 60px;
    width: calc(50% - 120px - 10px);
    height: 4px;
    background: var(--primary-color, #016473);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 52px;
    width: 20px;
    height: 20px;
    background: var(--primary-color, #016473);
    border: 3px solid white;
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 2;
}

.content h3 {
    color: var(--primary-color, #2c7873);
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.content p {
    color: #555;
    line-height: 1.5;
    font-size: 0.9em;
}

#screenshot-btn {
    margin-top: 0;
}

#screenshot-btn span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    color: var(--primary-color, #006169);
    margin-bottom: 20px;
    font-size: 24px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

.screenshot-container {
    margin: 20px 0;
    text-align: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.screenshot-container img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#downloadBtn {
    background: var(--primary-color, #006169);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    transition: all 0.3s ease;
}

#downloadBtn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .timeline::before {
        left: 60px;
    }

    .timeline-item {
        margin-bottom: 60px;
        padding-left: 120px !important;
        padding-right: 0 !important;
    }

    .timeline-item:nth-child(odd) .number-box,
    .timeline-item:nth-child(even) .number-box {
        width: 80px;
        height: 80px;
        left: 20px;
        right: auto;
    }

    .timeline-item:nth-child(odd) .content,
    .timeline-item:nth-child(even) .content {
        position: relative;
        width: 100%;
        left: auto;
        right: auto;
        transform: none;
        margin-top: 20px;
    }

    .timeline-item:nth-child(odd) .connector-line,
    .timeline-item:nth-child(even) .connector-line {
        left: 100px;
        width: 40px;
        right: auto;
    }

    .timeline-dot {
        left: 140px;
        width: 16px;
        height: 16px;
    }

    .number {
        font-size: 2.5em;
    }
} 