/* Shipment Status Timeline Styles - Icon Fix */
.status-container {
    padding: 20px;
    background-color: #121212;
    color: #fff;
}

.status-container h2 {
    color: #00ff99;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    margin-left: 20px;
    padding-left: 25px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: 2px;
    height: 100%;
    background: #333;
}

.status {
    position: relative;
    padding-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.status-content {
    flex: 1;
    display: flex;
    flex-direction: column; /* stack title and date */
}

.status:last-child {
    padding-bottom: 0;
}

.status-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
    color: #fff;
    font-size: 12px;
    margin-right: 15px; /* space between icon and text */
}

.status.active .status-icon {
    background-color: #00ff99;
    border-color: #00ff99;
    color: #000;
}

.status-content {
    flex: 1;
}

.status-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
}

.status-date {
    font-size: 12px;
    color: #bbb;
}
.chat-counter-num {
    padding: 7px 10px 7px 10px;
    border-radius: 50px;
    color: #fff;
    margin-left: 5px;
}
@-webkit-keyframes blinker {
  from {opacity: 1.0;}
  to {opacity: 0.0;}
}
.blink{
	text-decoration: blink;
	-webkit-animation-name: blinker;
	-webkit-animation-duration: 0.6s;
	-webkit-animation-iteration-count:infinite;
	-webkit-animation-timing-function:ease-in-out;
	-webkit-animation-direction: alternate;
}

button.btn-close {
    color: #ffffff;
    background: #000;
    opacity: 1;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
}

.side-nav , .sign-in-banner {
    background: linear-gradient(0deg, rgba(0, 40, 104, 1) 0%, rgb(191 10 48 / 50%) 100%);
}

 html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #eee;
}

/* Main container */
#chat-container {
    display: flex;
    flex-direction: column;
    height: 90vh;
    width: 100%; /* full fluid width desktop */
    border: 1px solid #ccc;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
}

/* Chat area */

/* Chat Header */
#chat-header {
    background: #075E54;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

#chat-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #128C7E;
    background-color: white;
    padding: 4px;
    object-fit: contain;
}
#chat-header .back-icon{
    color:white;
}
#chat-box::before {
    content: "";
    width: 74%;
    position: fixed;
    display: flex;
    height: 65%;
    /*background-image: url(https://i.postimg.cc/66b9fKRj/logo-02.png);*/
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    justify-content: center;
    pointer-events: none;
    align-items: center;
    
}
/* Messages stay above background */
/*.message {*/
/*    max-width: 60%;*/
/*    padding: 10px 15px;*/
/*    border-radius: 10px;*/
/*    word-wrap: break-word;*/
/*    font-size: 14px;*/
/*    line-height: 1.4;*/
/*    display: block;*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

.sent {
    justify-content: end;
    text-align: right;
    margin-bottom: 0.5rem !important;
}
.sent .card{
    background: #e3e3e7 !important;
}
.received {
    justify-content: start;
    margin-bottom: 1.5rem !important;
}

/* Input area */
#input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #fff;
    border-radius: 0px 0px 30px 30px;
}

#input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

#input-area button {
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #075e54;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
}

#input-area button:hover {
    background-color: #0a7e6e;
}

/* Attachment button */
#attachment-label {
    margin: 5px  10px auto;
    font-size: 15px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #002868;
    transition: background-color 0.3s;
    color: #fff;
}

#attachment-label:hover {
    background-color: #bf0a30;
}

#attachment-label input[type="file"] {
    display: none;
}

/* Mobile view tweaks */
@media (max-width: 768px) {
    #chat-container {
        height: 95vh;
        border-radius: 20px;
    }
    .message {
        max-width: 80%;
        font-size: 13px;
    }
}




/**
 * Tapering Button
 */

.tapering-button {
	--transition: all 0.25s ease-out;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 10px;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.21;
	text-decoration: none;
	color: white;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
	transition: var(--transition);
	max-width: 220px;
}

@media screen and (max-width: 574.9px) {
	.tapering-button {
		min-width: 0;
	}
}

@media (hover: hover) and (pointer: fine) {
	.tapering-button:hover {
		box-shadow: 0 0 32px 0 rgb(191 10 48 / 60%);
	}
}

.tapering-button.active {
	display: flex;
	justify-content: center;
	align-items: center;
	transform-origin: center;
	transform: scaleY(0.0889);
	background: #eee;
	box-shadow: none;
	border-radius: 0;
	transition: all 0.5s ease;
	cursor: default;
}

.tapering-button.completed {
    color: white;
    padding: 10px 20px;
	background-image: linear-gradient(310deg, #002868 0%, #002868 100%);
	box-shadow: none;
	transition: all 0.2s ease;
	pointer-events: none;
}

.tapering-button__final-content,
.tapering-button__start-content {
	display: flex;
	align-items: center;
}

.tapering-button .tapering-button__start-content {
	transform: translateX(-5px);
	opacity: 1;
	transition: opacity 2s ease-out;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 246px;
}

.tapering-button .tapering-button__start-content .tapering-button__icon-before,
.tapering-button .tapering-button__final-content .tapering-button__icon-after {
	display: block;
	width: 38px;
	height: auto;
}

.tapering-button .tapering-button__start-content .tapering-button__icon-before {
	margin-right: 24px;
}

.tapering-button.completed .tapering-button__start-content {
	display: none;
	opacity: 0;
}

.tapering-button .tapering-button__final-content {
	position: relative;
	display: none;
	opacity: 0;
}


.tapering-button.completed .tapering-button__final-content {
	display: flex;
	opacity: 1;
	animation: slideIn 0.2s ease-out, glide 0.5s ease-out 0.2s;
}

.tapering-button.completed span{
	opacity: 1;
	animation: slide-in 0.2s ease-out, glide 0.5s ease-out 0.2s;
}

.tapering-button .tapering-button__loader {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #eee;
	transition: transform 2s ease-out;
	visibility: hidden;
}

.tapering-button.active .tapering-button__loader {
	visibility: visible;
	transform: scaleX(1);
	z-index: 3;
}

.tapering-button.active .tapering-button__loader::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 0;
	background: #002868;
	animation: loader-animation 2s linear forwards;
	animation-delay: 1s;
}

@keyframes loader-animation {
	to {
		width: 100%;
	}
}

@keyframes slide-in {
	0% {
		transform: translateY(15px) translateX(-15px);
	}

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

@keyframes glide {
	0% {
		transform: translateY(-3px) translateX(3px);
	}

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

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


.card.pdxcard {
    background: #7ebf29;
}
.card.paccard{
    background: #387C1C;
}
.card.globalcard{
    background:#006786;
}
.card.houstoncard{
    background:#c10001;
}
.sign-in-banner{
    
}