/* Rental Specific Styles */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f39c12;
    --success: #2ecc71;
    --error: #e74c3c;
    --warning: #f1c40f;
    --light: #f8f9fa;
    --dark: #2d3748;
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: white;
    color: var(--dark);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--accent);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: var(--error);
}

.notification.warning {
    border-left-color: var(--warning);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: var(--success);
}

.notification.error .notification-icon {
    color: var(--error);
}

.notification.warning .notification-icon {
    color: var(--warning);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.notification-message {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.notification-close:hover {
    background: #f5f5f5;
    color: #666;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    width: 100%;
    transform-origin: left;
    animation: progress 5s linear forwards;
}

@keyframes progress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

/* Limit Info Badge */
.limit-info-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    backdrop-filter: blur(10px);
}

.limit-info-badge i {
    color: var(--accent);
}

/* No Vehicle Message */
.no-vehicle-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.no-vehicle-message i {
    color: var(--accent);
    margin-bottom: 20px;
}

.no-vehicle-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.no-vehicle-message p {
    opacity: 0.8;
    font-size: 1rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: white;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Filter Section */
.filter-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Kendaraan Grid */
.kendaraan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.kendaraan-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.kendaraan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kendaraan-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
}

.card-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-details i {
    color: var(--accent);
    margin-right: 5px;
}

.card-price {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent);
}

.price-periode {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

.card-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.5;
    min-height: 60px;
}

.card-action {
    width: 100%;
}

.btn-pesan {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-pesan:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
}

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

.modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    margin-bottom: 10px;
}

.modal-header p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.close-modal:hover {
    opacity: 1;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-error {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-control.error {
    border-color: var(--error);
    background: rgba(231, 76, 60, 0.05);
}

.email-note {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-submit,
.btn-cancel {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-submit {
    background: var(--accent);
    color: white;
}

.btn-submit:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.required {
    color: #ff6b6b;
}

/* Total Info */
.total-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.total-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
}

/* Limit Info Section */
.limit-info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.limit-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: white;
    font-weight: 500;
}

.limit-header i {
    color: var(--accent);
}

.limit-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.limit-item {
    text-align: center;
}

.limit-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 2px;
}

.limit-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
}

.limit-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.limit-progress-bar {
    height: 100%;
    background: var(--success);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.limit-progress-bar.warning {
    background: var(--warning);
}

.limit-progress-bar.danger {
    background: var(--error);
}

/* Info Section */
.info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: white;
}

.info-section p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.info-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: white;
}

.step p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-section p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 300;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 20px;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .kendaraan-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .filter-section {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }

    header {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .info-section {
        padding: 30px 20px;
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .limit-details {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .kendaraan-grid {
        grid-template-columns: 1fr;
    }

    .card-content {
        padding: 20px;
    }
}