@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ==============================================
   Variables
   ============================================== */
:root {
    --background-color: #FFFFFF;
    --primary-color: #112337;
    --primary-light: #2A3B4D;
    --primary-dark: #0A1A29;
    --secondary-color: #2C629B;
    --secondary-light: #5191c15d;
    --secondary-dark: #12518c;
    --gray-light: #F5F7FA;
    --gray-medium: #D9DEE5;
    --gray-dark: #6C7884;
    --success-color: #10B981;
    --active-success-color: #0d9467¯;
    --warning-color: #FFC107;
    --error-color: #E11D48;
    --active-error-color: #b4173a;
    --active-success-color: #086043;

}


/* ==============================================
   Global Styles
   ============================================== */
* {
    font-family: "Poppins", sans-serif;
}

/* ==============================================
   Background Colors
   ============================================== */
.tyn-root {
    background-color: var(--background-color) !important;
}

.pointer {
    cursor: pointer;
}


.badge {
    background: var(--secondary-color) !important;
}

.tyn-main,
.tyn-aside-base+.tyn-main,
.tyn-content,
.bg-primary,
.tyn-body {
    background-color: var(--primary-color) !important;
}

.modal .tyn-media-group:hover,
.tyn-aside-item:hover,
.tyn-aside-item.active {
    background-color: var(--secondary-light);
}

.tyn-aside-item.active h6 {
    color: var(--secondary-color) !important;
}


/* ==============================================
   Text Styles
   ============================================== */
h1,
h2,
h3,
h4,
.text-primary {
    color: var(--primary-color) !important;
}

h5 {
    color: var(--secondary-color) !important;
}

.text-white {
    color: white !important;
}

.text-dark,
.text-success {
    color: var(--secondary-color) !important;
}

.text-small {
    font-size: 10px;
}

.text-small a {
    font-size: 14px;
}

.form-check-label a {
    color: var(--secondary-color) !important;
}


/* ==============================================
   Links
   ============================================== */
.link {
    color: var(--secondary-color) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.link:hover {
    color: var(--primary-color) !important;
}

/* ==============================================
   Buttons
   ============================================== */
button.active {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color) !important;
    border: none;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--secondary-color) !important;
    color: var(--background-color) !important;
}

.btn-primary:disabled {
    background-color: var(--secondary-light) !important;
    cursor: not-allowed !important;
}


.btn-secondary {
    background-color: var(--secondary-color) !important;
    color: var(--background-color) !important;
    border: none !important;
}

.btn-secondary:hover {
    background-color: var(--secondary-light) !important;
    color: var(--background-color) !important;
}

.btn-social:hover {
    background-color: #2c629b62;
    color: var(--secondary-color);
}

.btn-light.active,
.btn-light:hover,
.btn-icon:hover {
    background-color: #99BEDA !important;
    color: var(--secondary-color) !important;
}

.btn-danger {
    background-color: var(--error-color) !important;
    border: none !important;
}

.btn-danger:hover {
    background-color: var(--active-error-color) !important;
}

.btn-success {
    background-color: var(--success-color) !important;
    border: none !important;
}

.btn-success:hover {
    background-color: var(--active-success-color) !important;
}

.btn-icon.show {
    background-color: var(--background-color);
}

.edit-clone-btns {
    justify-content: space-between;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color) !important;
    --bs-btn-border-color: var(--primary-color) !important;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: var(--primary-color) !important;
    --bs-btn-hover-border-color: var(--primary-color) !important;
    --bs-btn-focus-shadow-rgb: 37, 99, 235;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: var(--primary-color) !important;
    --bs-btn-active-border-color: #var(--primary-color) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #var(--primary-color) !important;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #var(--primary-color) !important;
    --bs-gradient: none;
}

button[type="submit"] {
    margin-top: 20px;
}


.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color) !important;
}

.form-select:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem #2c629b62;
}

/* Button Icons and Links */
.tyn-appbar-link,
.btn-icon,
.btn-light {
    color: var(--primary-color) !important;
    border: none !important;
}

.tyn-appbar-link {
    background-color: var(--gray-medium) !important;
    color: var(--primary-color) !important;
}

.tyn-list-links {
    --link-color: var(--bs-gray-500);
    --link-hover-color: var(--secondary-color) !important;
}

.tyn-list-links a:hover {
    background-color: var(--gray-light);
}

.tyn-appbar-link.active,
.tyn-appbar-link:hover {
    background-color: var(--primary-color) !important;
    color: var(--background-color) !important;
    border: none !important;
}

hr {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* ==============================================
   Navigation Tabs
   ============================================== */

.sidebar .nav-link.active::after,
.dropdown-head .nav-link.active::after {
    background-color: var(--secondary-color) !important;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover,
.dropdown-head .nav-link:hover,
.dropdown-head .nav-link.active {
    color: var(--secondary-color) !important;
}


.tyn-profile-nav .nav-tabs-line .nav-link.active::after {
    display: none;
}

.tyn-profile-nav .nav-link {
    color: white !important;
    padding: 8px 14px;
}

.tyn-profile-nav .nav-link.active {
    color: var(--secondary-color) !important;
    background-color: white !important;
}


.tyn-profile-nav .nav-link:hover,
.tyn-profile-nav li a:hover {
    color: var(--secondary-color) !important;
    background-color: white;
}

.tyn-profile-details {
    border-radius: 0 1rem 1rem 1rem !important;
}

.edit-clone-details {
    border-top-left-radius: none !important;
}

/* ==============================================
   INPUTS AND SELECTS
   ============================================== */

/* SELECTS STYLE */

.css-13cymwt-control,
.css-t3ipsp-control {
    background-color: white !important;
    border-color: #cbd5e1 !important;
    border-radius: var(--tyn-shape, 0.375rem) !important;
    border-style: solid;
    border-width: 1px;
    min-height: 40px !important;
}

.css-t3ipsp-control {
    box-shadow: 0 0 0 1px var(--primary-color) !important;
}

.css-hlgwow,
.css-hlgwow .css-19bb58m {
    padding: 0 !important;
    margin: 0 !important
}

.css-hlgwow .css-19bb58m,
.css-1dimb5e-singleValue,
.css-1cfo1cf {
    color: #64748b !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    padding: 0.53125rem 3rem 0.53125rem 1rem !important;
}


.css-hlgwow .css-1jqq78o-placeholder {
    color: #64748ba4 !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    padding: 0.53125rem 3rem 0.53125rem 1rem !important;
}


.css-1nmdiq5-menu {
    color: #64748b !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

.css-1u9des2-indicatorSeparator {
    background-color: #cbd5e1 !important;
}

.css-tj5bde-Svg {
    fill: #cbd5e1 !important;
}

.css-d7l1ni-option,
.css-tr4s17-option {
    background-color: var(--secondary-light) !important;
}

.css-tr4s17-option {
    color: var(--primary-color) !important;
}

/* multiselect chips */
.css-9jq23d,
.css-v7duua {
    background-color: #5191c129;
    font-size: 0.875rem !important;
    color: #64748b !important;
}

.css-v7duua svg {
    fill: #64748b !important;
}

.tag {
    border-radius: 2px;
    color: #64748B;
    background-color: #CFD7E0 !important;
    font-size: 85%;
    padding: 0 0 0 8px !important;

}

.tag-delete {
    color: #64748B;
    border-radius: 0;
    margin: 0 !important;
    padding: 2px 10px !important;
    font-weight: 500;
    font-size: 15px;
}

.tag-delete:hover {
    background-color: #FFBDAD !important;
    color: #64748B;
}



/* ==============================================
   Form Inputs
   ============================================== */
input,
textarea,
select {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: var(--background-color);
}

input:disabled {
    cursor: not-allowed;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-control-solid {
    --soild-input-bg: var(--bs-gray-200);
    --soild-input-border-color: var(--bs-gray-200);
    --soild-input-focus-bg: var(--secondary-light);
    --soild-input-focus-border-color: #dbeafe;
    background: var(--gray-medium);
    border: 1px solid var(--soild-input-border-color);
}

/* ==============================================
   Profile Styling
   ============================================== */
.tyn-logo {
    align-items: center;
}

.logo-icon {
    height: 34px !important;
}

.logo-text {
    height: 24px !important;
    padding-left: 6px;
}

/* Cover Image */
.new-cover {
    position: relative;
    height: 260px;
    background-color: #f4f4f4;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
}

.new-cover .tyn-profile-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cover Upload Button */
.upload-icon-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.cover-upload-input {
    display: none;
}

/* Avatar Styling */
.tyn-profile-info,
.tyn-media {
    position: relative;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Avatar Upload Button */
.avatar-upload-label {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    cursor: pointer;
}

.avatar-upload-input {
    display: none;
}

.tyn-profile-bio .text-info {
    padding: 18px 0;
}

.tyn-profile-bio p,
.text-info span,
.paragraph {
    color: #64748B;
    font-size: 14px;
    text-align: justify;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.tyn-profile-bio .chip-container span {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #cbd5e1;
    border-radius: var(--tyn-shape, 0.375rem);
    padding: 5px 10px;
    margin-right: 8px;
    color: #64748B;
    font-size: 14px;
}

/* Clone Add Form */
.add-clone .tyn-profile .tyn-profile-details {
    border-radius: 1rem !important;
}

/* ==============================================
   BANNER
   ============================================== */
.notification-banner {
    background-color: #FBE2E7;
    border-radius: 0.375rem;
    padding: 10px 12px;
    margin-top: 10px;
}

.notification-banner p a {
    font-weight: bold;
    color: #64748b !important;
    text-decoration: underline;

}

.notification-banner p,
.notification-banner .icons button {
    font-size: 12px;
}

.notification-banner .icons button {
    padding: 3px 8px !important;
    border-radius: 6px;
    color: white !important;
    cursor: pointer;
}

.notification-banner .icons .accept {
    margin: 0 10px;
    background-color: var(--success-color);
}

.notification-banner .icons .deny {
    background-color: var(--error-color);
}

/* ==============================================
   WARNING
   ============================================== */
.warning-text {
    margin: 10px 4px;
}

.warning-text p {
    font-size: 12px;
    font-weight: 400;
    color: var(--error-color);
    margin: 0px 6px;
}

.warning-text p a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}




/* ==============================================
   Landing page images styles
   ============================================== */
#demo-pages span {
    background: white;
    color: var(--secondary-color);
    padding: 0 12px;
    border-radius: 0.375rem;
}

.landing .border {
    border: 1px solid var(--background-color) !important;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.076);
}

.buttons {
    gap: 8px;
    /* Spaziatura tra pulsanti */
}

.delete-clone-btn {
    margin-top: 0;
    /* Allineamento iniziale per desktop */
}

/* ==============================================
   MODALS
   ============================================== */

/* MODALE */

.modal.fade.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1055;
}

.modal-dialog {
    max-width: 400px;
    margin: 0 auto;
    z-index: 1060;
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-out;
    z-index: 1060;
}

.modal-body {
    max-height: 90vh !important;
}

.modal .tyn-media-group {
    padding: 10px;
}

.scrollable-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* MODAL CALL AND VIDEOCALL*/

.modal-backdrop.show {
    z-index: 1;
}

#callingScreen,
#videoCallingScreen {
    z-index: 9999 !important;
}

#callingScreen .modal-content,
#videoCallingScreen .modal-content{
    height: 520px;
}


#callingScreen .tyn-media-group:hover,
#videoCallingScreen .tyn-media-group:hover {
    background: none !important;
}

#callingScreen .tyn-call {
    height: auto !important;
}

#callingScreen .call-ended-cover {
    background-color: #e11d48;
    height: 160px;
    border-radius: inherit;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes callTextAnimation {
    0% {
        opacity: 0;
        transform: scale(1.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 1;
    }
}


#callingScreen .call-ended-text {
    animation: callTextAnimation 0.6s ease-out;
}

#callingScreen .call-icon-feedback {
    max-width: 38px;
    height: auto;
    border-radius: 50%;
}

.comic-bubble {
    position: absolute;
    top: -40px;
    right: 84px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out;
    z-index: 99999 !important;
}

.comic-bubble:before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.comic-bubble:after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.comic-bubble.listening {
    animation: pulse 1.5s infinite;
}

.comic-bubble.thinking {
    animation: fadeIn 0.5s ease-in-out;
}

.comic-bubble.talking {
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.feedback-text {
    background-color: #11233796;
    text-align: center;
    width: fit-content;
    padding: 6px;
    border-radius: 6px;
}

.feedback-text span {
    font-size: 12px !important;
    font-weight: 500;
}

@keyframes blink {
    0% { opacity: 0; }
    33% { opacity: 1; }
    66% { opacity: 0; }
    100% { opacity: 0; }
}

.dot-1 {
    animation: blink 1.5s infinite;
}
.dot-2 {
    animation: blink 1.5s infinite 0.2s;
}
.dot-3 {
    animation: blink 1.5s infinite 0.4s;
}



.tyn-content {
    position: relative;
}

.confirmButtonModal {
    position: absolute !important;
    top: 120px;
    left: 100px;
}


/* ==============================================
   TIMELINE
   ============================================== */
.bUTGgW span.fVncYp {
    color: var(--primary-color) !important;
}

.hxLLRt,
.hrljDd,
.edCljr,
.diDJok,
.kCdEa-d {
    background-color: #E2E8F0 !important;
}

.uCMtz,
.eczmnE:not(.using-icon),
.bEGHwo {
    background-color: var(--secondary-color) !important;
}

.ebKbPx,
.gJAGSz,
.jHZwxq {
    color: var(--secondary-color) !important;
}

.erdVAe::before,
.erdVAe::after,
.jsVFgY::after,
.jsVFgY::before {
    background: var(--primary-color) !important;
}

.eczmnE:not(.using-icon).active {
    background: var(--secondary-color) !important;
    border: 3px solid var(--primary-color) !important;
}

.gJAGSz.active {
    background-color: var(--secondary-color) !important;
    color: white !important;
}

.jSOuST {
    margin-left: 8.5px !important;
}

.jZmURm:hover,
.cKWemK:hover,
.gJvBnh:focus {
    border: 1px solid var(--secondary-color) !important;
}


.upload-icon-label,
.avatar-upload-label {
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
}

.mobile-upload {
    display: none;
}

.edit-icon {
    position: absolute;
}

/* ==============================================
   MEMORIES
   ============================================== */

.memories .tyn-reply-file {
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;

}

.upload-square {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #eceef1;
    border: 1px dashed #ccd0d5;
    border-radius: 0.375rem;
    cursor: pointer;
}

.upload-square svg {
    width: 35px;
    height: auto;
    color: #ccd0d5;
    pointer-events: none;
}

.upload-square input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.memories .tyn-profile-details {
    border-radius: 1rem !important;
}




/* ==============================================
   CHAT PAGE
   ============================================== */

/* chat head */

.left-side-head {
    width: 60%;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.right-side-head {
    width: 40%;
    display: flex;
    justify-content: end;
    min-width: 0;
}

.tyn-media-col {
    flex-shrink: 1;
    min-width: 0;
}

.tyn-media-row .name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 18px;
    max-width: 90%;
}

/* chat body */

.tyn-reply-group {
    width: 100% !important;
}

.tyn-reply-bubble {
    max-width: 88%;
}

.tyn-reply-separator {
    background-color: rgba(128, 128, 128, 0.196);
    color: #c7c6c6 !important;
}

.outgoing .tyn-reply-text {
    background-color: var(--secondary-color);
}

.tyn-reply-text {
    position: relative;
}

.tyn-reply-text p {
    margin: 0 !important;
    padding-bottom: 8px;
}

.tyn-reply-time {
    color: inherit;
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 10px;
}

/* chat body - message typing */
.typing-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    animation: typing 1.8s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.typing-indicator span:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.3;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* chat footer */
.tyn-chat-form-enter {
    padding: var(--content-gap-y) var(--content-gap-x) var(--content-gap-y) var(--content-gap-x);
    align-items: center !important;
    justify-content: center;
}

.tyn-chat-form-input {
    margin-right: 1rem;
    max-height: 200px;
}

button#tynChatSend {
    width: 35px;
    height: 35px;
}

button#tynChatSend svg {
    height: 20px !important;
    width: auto !important;
}

/* new chat - modal */
.clickable-item {
    all: unset;
    display: block;
    cursor: pointer;
    width: 100%;
}


/* ==============================================
   DASHBOARD
   ============================================== */

.dashboard .tyn-aside-base+.tyn-main {
    overflow: auto;
}

.dashboard .tyn-profile,
.dashboard .tyn-profile-details {
    background-color: white;
    border-radius: 1rem !important;
}

.separator-line {
    width: 1px;
    background-color: #ccc;
    height: 40px;
    margin: 0 14px;
}

/* dashboard - table */

.user-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.user-table thead {
    background-color: var(--primary-color);
    color: #fff;
}

.user-table th,
.user-table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
}

.user-table tbody .even-row {
    background-color: #FFFFFF;
}

.user-table tbody .odd-row {
    background-color: #C1D6E9;
}

.user-table tbody td {
    border-top: 1px solid #ddd;
}

/* Dashboard - Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination button {
    margin: 4px 4px;
    padding: 6px 12px;
    font-size: 14px;
}

.pagination button:disabled {
    background-color: var(--gray-medium);
    cursor: not-allowed;
    color: var(--secondary-light) !important;
}

.pagination .page-numbers button.active {
    background-color: #99BEDA !important;
    color: var(--secondary-color) !important;
}

.page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

/* ==============================================
   GALLERY
   ============================================== */

.media-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.media-preview svg {
    width: 50%;
    height: 50%;
}

/* ==============================================
   Media Queries
   ============================================== */


@media screen and (max-width: 390px) {
    .empty-clone-message .home-logo {
        flex-direction: column;
    }

    .empty-clone-message .home-logo h1 {
        font-size: 82px !important;
    }

    .upload-icon-label,
    .avatar-upload-label {
        display: none;
    }

    .mobile-upload {
        display: inline-block;
        cursor: pointer;
    }

    .mobile-upload svg {
        width: 18px;
        height: 18px;
    }

    .tyn-profile-info {
        display: flex;
        justify-content: center;
    }

    .tyn-profile-info .tyn-media-group {
        flex-direction: column;
        align-items: center !important;
    }

    .tyn-profile-info .tyn-media-col {
        align-items: center !important;
    }

    .center {
        text-align: center;
    }

    .dashboard .edit-dashboard-nav,
    .clone .header {
        flex-direction: column-reverse !important;
    }

    .dashboard .edit-dashboard-nav .back-btn-mobile,
    .clone .header .back-btn-mobile {
        margin-bottom: 18px;
    }

    /* LANDING NAV */
    .try-now {
        font-size: smaller !important;
        padding: 6px 10px;
    }

}

@media screen and (max-width: 478px) {
    .tyn-add-clone .container .tyn-profile {
        flex-direction: column;
    }

    .tyn-add-clone .container .tyn-profile .buttons {
        width: 100%;
        flex-direction: column;
        margin-top: 14px;
    }

    .tyn-add-clone .container .tyn-profile .buttons .btn-primary {
        margin: 0 0 8px 0 !important;
    }

    .btn-family-tree {
        width: 100%;
    }

    .family-tree {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .family-tree .tyn-list-inline {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .family-tree .tyn-list-inline li {
        flex: 1;
        text-align: center;
    }

    .family-tree .tyn-list-inline li .btn {
        width: 100%;
    }

    .btn-family-tree {
        width: 100%;
        text-align: center;
    }


    .edit-clone-btns {
        flex-direction: column-reverse;
    }

    hr {
        display: block;
    }

    .delete-clone-btn {
        width: 100% !important;
        text-align: center;
        margin-top: 50px;
    }

    .earning-list .buttons {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .earning-list .buttons button {
        width: 100%;
        margin: 0 !important;
    }

    .tyn-chat-head .chat-btn-menu .btn-icon {
        width: 2rem;
        height: 2rem;

    }

    .tyn-chat-head .chat-btn-menu li svg {
        width: 12px;
    }



}


@media (min-width: 768px) and (max-width: 792.9px) {
    .family-tree {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .family-tree .tyn-list-inline {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .family-tree .tyn-list-inline li {
        flex: 1;
        text-align: center;
    }

    .family-tree .tyn-list-inline li .btn {
        width: 100%;
    }

    .btn-family-tree {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767.9px) {
    .profile-banner {
        margin-bottom: 40px !important;
    }
}

@media (max-width: 768px) {

    .upload-icon-label .label-text,
    .avatar-upload-label .label-text {
        display: none;
    }

}


@media (min-width: 479px) and (max-width: 875px) {

    .tyn-chat-head .chat-btn-menu .btn-icon {
        width: 2.2rem;
        height: 2.2rem;

    }

    .tyn-chat-head .chat-btn-menu li svg {
        width: 14px;
    }
}

@media screen and (max-width: 991.9px) {
    .family-tree {
        padding-top: 28px;
    }
}

@media (min-width: 992px) and (max-width: 1201.9px) {

    .family-tree {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .family-tree .tyn-list-inline {
        width: 70%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .family-tree .tyn-list-inline li {
        flex: 1;
        text-align: center;
    }

    .family-tree .tyn-list-inline li .btn {
        width: 100%;
    }

    .btn-family-tree {
        width: 70%;
        text-align: center;
    }
}

/* dashboard media queries */
@media screen and (max-width: 900px) {
    .dashboard .tyn-profile {
        flex-direction: column;
    }

    .dashboard .edit-dashboard-nav,
    .clone .header {
        flex-direction: row-reverse;
    }

    .dashboard .tyn-profile .buttons,
    .dashboard .tyn-profile .right-side {
        margin-top: 18px;
    }

    .dashboard .pagination {
        display: flex;
        justify-content: center !important;
    }

    .dashboard .edit-dashboard-nav .buttons,
    .clone .header .buttons {
        display: none !important;
    }

    .dashboard .edit-dashboard-nav .back-btn-mobile,
    .clone .header .back-btn-mobile {
        display: block !important;
    }

}

@media screen and (max-width: 1156px) {
    .tyn-profile-nav .nav-tabs {
        display: none !important;
    }

    .tyn-profile-nav .dropdown {
        display: block !important;
    }

    .tyn-profile-nav .dropdown-toggle {
        color: var(--secondary-color) !important;
        background-color: white !important;
        padding: 8px 14px;
        margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));
        border: var(--bs-nav-tabs-border-width) solid transparent;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        text-align: left;
        font-size: 14px;
        font-weight: 600;
    }

    .tyn-profile-nav .dropdown-toggle svg {
        margin-left: 2px;
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .tyn-profile-nav .dropdown-toggle:hover {
        background-color: var(--secondary-color) !important;
        color: white !important;
        border-color: var(--secondary-color) !important;
    }

    .tyn-profile-nav .dropdown .dropdown-item {

        color: var(--secondary-color);
        font-size: 14px;
        font-weight: 600;
    }

    .tyn-profile-nav .dropdown .dropdown-item.active {
        background-color: var(--secondary-color) !important;
        color: white !important;
    }

    .tyn-profile-nav .dropdown .dropdown-menu {
        --bs-dropdown-link-active-bg: var(--gray-medium) !important;
        color: white !important;
    }

}