﻿.veterinarian-page {
    min-height: calc(100vh - 80px);
    margin-top: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--petsolive-light), #d1f7df);
    background-size: 400% 400%;
    animation: vetBgAnim 12s ease infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes vetBgAnim {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.veterinarian-title {
    text-align: center;
    margin: 2rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--petsolive-dark);
}

.veterinarian-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 90%;
    max-width: 900px;
    margin-bottom: 2rem;
}

.vet-form .form-group {
    margin-bottom: 1.2rem;
}

.vet-form label {
    font-weight: 500;
    color: var(--petsolive-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.vet-form .form-control {
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

    .vet-form .form-control:focus {
        border-color: var(--petsolive-primary);
        box-shadow: 0 0 0 0.1rem rgba(30, 136, 229, 0.25);
    }

.btn-vet {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    background-color: var(--petsolive-primary);
    color: #fff;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
}

    .btn-vet:hover {
        background-color: #1565C0;
        transform: translateY(-1px);
    }

    .btn-vet:focus {
        outline: none;
        box-shadow: 0 0 0 0.1rem #ffffff, 0 0 0 0.25rem var(--petsolive-primary);
    }

.alert {
    margin: 1rem auto;
    border-radius: 6px;
    font-size: 0.9rem;
    max-width: 700px;
    padding: 1rem;
}

.alert-success {
    background-color: rgba(67, 160, 71, 0.1);
    color: var(--petsolive-success);
    border-left: 4px solid var(--petsolive-success);
}

.alert-danger {
    background-color: rgba(229, 57, 53, 0.1);
    color: var(--petsolive-danger);
    border-left: 4px solid var(--petsolive-danger);
}

.alert-warning {
    background-color: rgba(251, 140, 0, 0.1);
    color: var(--petsolive-warning);
    border-left: 4px solid var(--petsolive-warning);
}

.alert-info {
    background-color: rgba(142, 35, 170, 0.1);
    color: var(--petsolive-info);
    border-left: 4px solid var(--petsolive-info);
}

.vet-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .vet-table th, .vet-table td {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #eee;
        vertical-align: middle;
        text-align: left;
    }

    .vet-table th {
        background-color: #f7f7f7;
        font-weight: 600;
        color: var(--petsolive-dark);
    }

    .vet-table tr:hover {
        background-color: #fafafa;
    }

.vet-status {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.vet-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.vet-status-approved {
    background-color: var(--petsolive-success);
    color: lightgreen;
}

.vet-status-rejected {
    background-color: var(--petsolive-danger);
    color: #c62828;
}

@media (max-width: 768px) {
    .veterinarian-container {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .veterinarian-title {
        font-size: 1.5rem;
    }

    .vet-table th, .vet-table td {
        padding: 0.6rem;
    }
}