﻿@media screen and (max-width: 600px) {
    .auth-container {
        width: 90%;
    }
}

/* Main Auth Container */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.auth-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.auth-container input,
.auth-container select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.auth-container input::placeholder {
    color: #999;
    font-size: 14px;
}

.auth-button:hover {
    background-color: #1C9AB0;
}


/* Trips table */
.draft-trips-table {
    width: 100%; /* Ensures table fits within container */
    border-collapse: collapse;
    overflow-x: auto; /* Enables scrolling if needed */
    display: block;
}

    .draft-trips-table th,
    .draft-trips-table td {
        padding: 8px;
        text-align: left;
        border: 1px solid #ddd;
        white-space: nowrap; /* Prevents text from wrapping */
    }

    .draft-trips-table th {
        background-color: #007bff;
        color: white;
    }

    .draft-trips-table td {
        background-color: #fff;
    }

    .draft-trips-table .delete-button {
        width: 100%; /* Makes the button fit properly */
        text-align: center;
    }

/* Responsive table adjustments */
@media screen and (max-width: 600px) {
    .draft-trips-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}



/* Buttons */
.dashboard-button {
    background-color: #1C9AB0;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
}

    .dashboard-button:hover {
        background-color: #0A889E;
    }

/* Special Buttons */
.logout-button {
    background-color: red;
}

    .logout-button:hover {
        background-color: darkred;
    }

.add-trip-button {
    background-color: green;
}

    .add-trip-button:hover {
        background-color: darkgreen;
    }






/* Dashboard Container */
.dashboard-container {
    width: 80%;
    margin: auto;
    text-align: center;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px gray;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}




/* Table Styling */
.draft-trips-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .draft-trips-table th, .draft-trips-table td {
        border: 1px solid #ddd;
        padding: 10px;
    }

    .draft-trips-table th {
        background-color: #1C9AB0;
        color: white;
    }

    .draft-trips-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .draft-trips-table tr:hover {
        background-color: #ddd;
    }


.auth-container textarea {
    width: 100%;
    min-height: 80px; /* Adjust height for readability */
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    resize: vertical; /* Allows vertical resizing but keeps width consistent */
}
