/**
 * Vetor Styles
 */

/* Tab Navigation */
.ferry-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    list-style: none;
    padding-left: 0;
    border-bottom: 1px solid #e5e5e5;
}

.ferry-tabs li {
    margin: 0;
    padding: 0;
}

.ferry-tab-link {
    display: inline-block;
    padding: 10px 15px;
    margin-right: 2px;
    margin-bottom: -1px;
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-bottom-color: transparent;
    cursor: pointer;
    color: #052844;
    text-decoration: none;
    font-weight: bold;
}

.ferry-tab-link:hover {
    background-color: #f1f1f1;
}

.ferry-tab-link.active {
    background-color: #fff;
    border-bottom-color: #fff;
    color: #E31E24;
}

/* Tab Content */
.ferry-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-top: none;
}

.ferry-tab-content.active {
    display: block;
}

.ferry-timetable-container {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ferry-timetable {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1em;
    border: 1px solid #e5e5e5;
}

.ferry-timetable th,
.ferry-timetable td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.ferry-timetable th {
    background-color: #052844;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.ferry-timetable tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.ferry-timetable tbody tr:hover {
    background-color: #f1f1f1;
}

.ferry-timetable td {
    color: #052844;
}

/* Accent color for specific elements */
.ferry-timetable tbody tr:hover td {
    border-left: 3px solid #E31E24;
}

.ferry-timetable-error,
.ferry-timetable-notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #052844;
    background-color: #f8d7da;
    border-left: 5px solid #E31E24;
}

.ferry-timetable-notice {
    background-color: #d1ecf1;
    border-left-color: #0c5460;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    .ferry-timetable {
        border: 0;
    }
    
    .ferry-timetable thead {
        display: none;
    }
    
    .ferry-timetable tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #e5e5e5;
    }
    
    .ferry-timetable td {
        display: block;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px solid #e5e5e5;
        position: relative;
        padding-left: 50%;
    }
    
    .ferry-timetable td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #052844;
    }
    
    .ferry-timetable td:last-child {
        border-bottom: 0;
    }
}
