:root {
    --avatar-bg-color: #007bff;
    --avatar-text-color: white;
}

body {
    background-color: #f8f9fa;
}

.avatar-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    overflow: hidden;
    position: relative;
}

.avatar-placeholder.avatar-lg {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

.avatar-placeholder.avatar-xlg {
    width: 100px;
    height: 100px;
    font-size: 40px;
}

.avatar-placeholder .initials {
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    z-index: 1;
}

.avatar-placeholder .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.avatar-placeholder .avatar-img[src=""] ~ .initials,
.avatar-placeholder .avatar-img:not([src]) ~ .initials {
    position: relative;
    display: block;
}

.card {
    border: none;
    border-radius: 8px;
}

.card-header {
    border-bottom: 2px solid #e9ecef;
    border-radius: 8px 8px 0 0;
}

.card-body.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.card .text-start {
    width: 100%;
}

.card .small {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .small i {
    min-width: 20px;
    flex-shrink: 0;
}

.contact-info {
    text-align: center;
    margin-top: 0.5rem;
}

.contact-info .small {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-primary {
    color: #007bff !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.modal-header.bg-success {
    background-color: #28a745 !important;
}

.btn-close-white {
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .row.align-items-center {
        flex-direction: column;
        text-align: center;
    }

    .col-auto:last-child {
        margin-top: 1rem;
    }
}

/* FAB Styles */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.fab:active {
    transform: scale(0.95);
}

.fab-primary {
    background-color: #007bff;
}

.fab-primary:hover {
    background-color: #0056b3;
}

.fab-success {
    background-color: #28a745;
}

.fab-success:hover {
    background-color: #1e7e34;
}

.fab-label {
    position: absolute;
    right: 70px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fab:hover .fab-label {
    opacity: 1;
}

@media (max-width: 576px) {
    .fab-container {
        bottom: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }

    .fab {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .fab-label {
        right: 60px;
        font-size: 12px;
    }
}
