.availability-widget {
    max-width: 24rem;
    margin: 1rem auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: all 0.3s;
}

.availability-widget:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.aw-container {
    padding: 1.5rem 2rem;
}

.aw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.aw-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.aw-icon {
    padding: 0.75rem;
    background: linear-gradient(to bottom right, #3b82f6, #2563eb);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}

.aw-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.aw-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.aw-title p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.aw-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: #ecfdf5;
    border-radius: 9999px;
}

.aw-pulse {
    width: 0.625rem;
    height: 0.625rem;
    background-color: #10b981;
    border-radius: 9999px;
    position: relative;
}

.aw-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background-color: #10b981;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.aw-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background-color: #10b981;
    animation: ripple 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.aw-status span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #047857;
}

.aw-divider {
    position: relative;
    margin: 1.5rem 0;
}

.aw-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: #f3f4f6;
}

.aw-divider svg {
    position: relative;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0 auto;
    padding: 0.25rem;
    background-color: white;
    color: #9ca3af;
}

.aw-content {
    text-align: center;
    margin: 2rem 0;
}

.aw-count {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.aw-content p {
    font-size: 1.125rem;
    color: #4b5563;
    margin: 0;
}

.aw-button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    color: white !important;
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.5);
    text-decoration: none;
    text-align: center;
}

.aw-button:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.5);
    color: white;
    text-decoration: none;
}

.aw-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
}

.aw-footer {
    padding: 1rem 2rem;
    background-color: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.aw-footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aw-emergency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.aw-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    color: #2563eb;
    font-weight: 600;
}

.aw-emergency svg,
.aw-phone svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}