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

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
}

.header {
    background-color: #add8e6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.header h1 {
    font-size: 35px;
    margin-bottom: 10px;
    color: #333;
}

.header p {
    font-size: 16px;
    margin-bottom: 5px;
    color: #555;
}

.by-line {
    font-size: 20px !important;
    font-weight: bold;
    color: #2c3e50 !important;
    margin-top: 10px;
}

.nav-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.icon-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
}

.add-vehicle {
    background-color: #28a745;
}

.add-service {
    background-color: #ffc107;
    color: #000;
}

.back {
    background-color: #000;
}

.website {
    background-color: #007bff;
}

.container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container h2 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.vehicle-item, .service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.vehicle-item:last-child, .service-item:last-child {
    border-bottom: none;
}

.vehicle-description, .service-description {
    flex-grow: 1;
}

.vehicle-actions, .service-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    text-align: center;
}

.btn-view {
    background-color: #17a2b8;
    color: white;
}

.btn-edit {
    background-color: #ffc107;
    color: #000;
}

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

.add-btn {
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.vehicle-details, .service-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.vehicle-details p, .service-details p {
    margin-bottom: 8px;
}

.service-date {
    font-weight: bold;
    color: #007bff;
}

.vehicle-list {
    margin-top: 15px;
}

.vehicle-link {
    display: block;
    padding: 10px;
    background-color: #e9ecef;
    margin-bottom: 5px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.vehicle-link:hover {
    background-color: #dee2e6;
}

.vehicle-link.active {
    background-color: #007bff;
    color: white;
}

@media (max-width: 600px) {
    body {
        padding: 5px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .by-line {
        font-size: 16px !important;
    }
    
    .nav-icons {
        gap: 10px;
    }
    
    .icon-link {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
    }
    
    .container {
        padding: 15px;
    }
    
    .btn {
        padding: 4px 8px;
        font-size: 12px;
    }
}
