.message-box-end {
    background-color: #0d6efd;
    color: white;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 16px;
    max-width: 70%;
    word-wrap: break-word;
}

.message-box-start {
    background-color: #f0f2f5;
    color: #050505;
    border-radius: 18px 18px 18px 4px;
    padding: 12px 16px;
    max-width: 70%;
    word-wrap: break-word;
}

.online-dot {
    height: 12px;
    width: 12px;
    background-color: #31a24c;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 2px solid white;
}

.offline-dot {
    height: 12px;
    width: 12px;
    background-color: #a0a0a0;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 2px solid white;
}

.conversation-item:hover {
    background-color: #f8f9fa;
}

.conversation-active {
    background-color: #e9f2ff !important;
}

.emoji-picker {
    position: absolute;
    bottom: 60px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.message-time {
    font-size: 0.75rem;
    color: #6c757d;
}

.message-seen {
    font-size: 0.75rem;
    color: #0d6efd;
}

.unread-badge {
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    object-position: center;
}

.header-profile-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    object-position: center;
}

.chat-profile-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    object-position: center;
}

.category-card {
    cursor: pointer;
    background-color: #448C74;
}
.category-card h3 {
    color: #fff!important;
}
.category-card.selected {
    border: 2px solid #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}
.category-breadcrumb {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.map-container {
    height: 300px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.required-field::after {
    content: "*";
    color: red;
    margin-left: 3px;
}
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #0d6efd;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.page-loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .4s .2s ease-in-out;
    transition: all .4s .2s ease-in-out;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}
[data-bs-theme="dark"] .page-loading {
    background-color: #121519;
}
.page-loading.active {
    opacity: 1;
    visibility: visible;
}
.page-loading-inner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
    opacity: 0;
}
.page-loading.active > .page-loading-inner {
    opacity: 1;
}
.page-loading-inner > span {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #6f788b;
}
[data-bs-theme="dark"] .page-loading-inner > span {
    color: #fff;
    opacity: .6;
}
.page-spinner {
    display: inline-block;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: .75rem;
    vertical-align: text-bottom;
    background-color: #d7dde2;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner .75s linear infinite;
    animation: spinner .75s linear infinite;
}
[data-bs-theme="dark"] .page-spinner {
    background-color: rgba(255,255,255,.25);
}
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

/* Ana Renkler */
/* Orta Mor (Primary): #8E44AD */
/* Hover (Daha Açık):  #A569BD */
/* Açık Mor (Disabled): #BB8FCE */

/* Nav Link */

.nav-link:hover,
.nav-link:focus {
    color: #A569BD !important; /* Açık Mor Hover */
}

/* Btn Primary */
.btn-primary {
    background-color: #8E44AD !important; /* Orta Mor */
    border-color: #8E44AD !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:active {
    background-color: #A569BD !important; /* Açık Mor Hover */
    border-color: #A569BD !important;
    color: #fff !important;
}
.btn-primary:disabled {
    background-color: #BB8FCE !important; /* Daha Açık */
    border-color: #BB8FCE !important;
    color: #fff !important;
}

/* Btn Outline Primary */
.btn-outline-primary {
    background-color: transparent !important;
    border-color: #8E44AD !important; /* Orta Mor */
    color: #8E44AD !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
    background-color: #A569BD !important; /* Açık Mor Hover */
    border-color: #A569BD !important;
    color: #fff !important;
}
.btn-outline-primary:disabled {
    background-color: transparent !important;
    border-color: #BB8FCE !important;
    color: #BB8FCE !important;
}

/* Text Primary */
.text-primary {
    color: #8E44AD !important; /* Orta Mor */
}
.text-primary:hover,
.text-primary:active {
    color: #A569BD !important; /* Açık Mor Hover */
}
.text-primary:disabled {
    color: #BB8FCE !important; /* Daha Açık */
}

/* Background Hero */
.home-hero {
    background: linear-gradient(135deg, #8E44AD 0%, #A569BD 100%) !important;
}

/* Background Opacity Helper */
.bg-opacity-10 {
    color: #8E44AD !important; /* Orta Mor */
}




