/* Global Styles */
* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

/* Header */
.header {
    width: 100%;
    background-color: #2ecc71;
    color: white;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 60px;
    object-fit: contain;
    margin-right: 20px;
}

.header-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    flex-grow: 1;
}

/* Main Content Styles */
.journey-map-container {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    margin: 2rem auto;
}

.section-card {
    background: white;
    padding: 2rem;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    color: #2ecc71;
    border-bottom: 2px solid #2ecc71;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#journey-map-table-wrapper {
    overflow-x: auto;
}

#journey-map-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

#journey-map-table th, #journey-map-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    vertical-align: top;
    text-align: left;
}

#journey-map-table thead th {
    background-color: #e9ecef;
    font-weight: bold;
    text-align: center;
}

#journey-map-table textarea {
    width: 100%;
    min-height: 80px;
    border: none;
    resize: vertical;
    font-family: inherit;
    font-size: inherit;
    padding: 5px;
}

.stage-col {
    width: 15%;
    font-weight: bold;
    background-color: #f8f9fa;
}

.action-col {
    width: 10%;
    text-align: center;
}

.remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.remove-btn:hover {
    filter: brightness(1.1);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-success {
    background-color: #2ecc71;
    color: white;
}

.btn-primary:hover, .btn-success:hover {
    filter: brightness(1.1);
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    width: 100%;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .journey-map-container {
        padding: 1rem;
    }
    .header {
        height: 60px;
    }
    .logo {
        height: 40px;
    }
    .header-title {
        font-size: 1rem;
    }
}