#imagePreview {

    background: repeat scroll 0 0 #ddd;
    height: 150px;
    width: 150px;
    background-position: center center;
    background-size: cover;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    display: inline-block;
    padding: 4px;
    transition: all 0.2s ease-in-out 0s;
}

#landscapeImagePreview {

    background: repeat scroll 0 0 #ddd;
    height: 150px;
    width: 300px;
    background-position: center center;
    background-size: cover;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    display: inline-block;
    padding: 4px;
    transition: all 0.2s ease-in-out 0s;
}

.portraitImagePreview {

    background: repeat scroll 0 0 #ddd;
    height: 250px;
    width: 150px;
    background-position: center center;
    background-size: cover;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    display: inline-block;
    padding: 4px;
    transition: all 0.2s ease-in-out 0s;
}

.squareImagePreview {

    background: repeat scroll 0 0 #ddd;
    height: 200px;
    width: 200px;
    background-position: center center;
    background-size: cover;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    display: inline-block;
    padding: 4px;
    transition: all 0.2s ease-in-out 0s;
}

.preview_holder:hover>img {
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    opacity: .7
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    text-transform: none !important;
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.video_container {
    max-height: 300px;
    max-width: 600px;
}

.module-div {
    border: 1px solid #eee;
    padding: 15px 15px 15px 15px;
    margin-top: 8px;
    box-shadow: 5px 5px 5px rgba(186, 12, 47, 0.19);
}

.question-text {
    font-size: 25px;
}

.option-no {
    margin-left: 0px;
    margin-right: 5px;
    padding: 4px 8px 4px 6px;
    border-radius: 18px;
    background-color: #fff !important;
    color: #000;
}

.question-option {
    font-weight: bold;
    margin: auto 0 2em;
    padding: 10px 5px 10px 5px;
    border-radius: 30px;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    background: linear-gradient(45deg, #fda582, #f7cf68) !important;
    color: #fff !important;
}

.option-no-selected {
    margin-left: 0px;
    margin-right: 5px;
    padding: 4px 8px 4px 6px;
    border-radius: 18px;
    background-color: #fff !important;
    color: #1ac165;
}

.question-option-selected {
    font-weight: bold;
    margin: auto 0 2em;
    padding: 10px 5px 10px 5px;
    border-radius: 30px;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    background: #1ac165 !important;
    color: #fff !important;
}

.option-count {
    padding: 0px 7px 0px 35px;
}

.media-option-selected {
    opacity: 0.3;
    background: #1ac165 !important;
}

.image-container {
    position: relative;
    width: 64px;
    height: 64px;
}

.image-container .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(26, 193, 101, .6);
}

.winner-each {
    font-size: 15px;
    font-weight: 600;
    margin: auto 0 2em;
    padding: 10px 15px 10px 8px;
    border-radius: 30px;
    border: 3px solid #9edefd;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    background: #fff !important;
    color: #000 !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-online {
    background: #e6f9ec;
    color: #1a7f37;
}

.status-offline {
    background: #fde8e8;
    color: #b91c1c;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.online-dot {
    background: #22c55e;
}

.offline-dot {
    background: #ef4444;
}

.order-manager-select {
    width: 160px;
    max-width: 160px;
}


/* Freshdesk Ticket Activity Styles */
.fd-ticket-header {
    background-color: #DF654B;
}

.fd-ticket-row {
    background: #fff;
    margin: 0;
}

.fd-details-header {
    border-bottom: 2px solid #f0f0f0 !important;
}

.fd-icon-box {
    background-color: #f8f9fa;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fd-icon-box i {
    font-size: 48px;
    color: #ced4da;
}

.fd-empty-title {
    font-weight: 700;
    color: #333;
}

.fd-btn-create {
    background-color: #007bff !important;
    color: #ffffff !important;
    font-weight: 800;
    border: none;
    padding: 12px 25px;
    border-radius: 5px !important;
    text-transform: none !important;
    font-size: 16px !important;
}

.fd-details-box {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
}

.fd-detail-label {
    font-weight: 800;
    color: #584a4a;
}

.fd-detail-value {
    color: #333;
}

.fd-details-title {
    font-size: 16px !important;
    text-transform: none !important;
    color: #83888d !important;
}

.fd-btn-create:hover,
.fd-btn-create:focus,
.fd-btn-create:active {
    background-color: #659fdd !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    outline: none !important;
}


.fd-summary-row {
    /* border-bottom: 1px solid #f0f0f0; */
}

.fd-summary-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #eee;
    margin-top: 10px;
}

.fd-summary-icon-wrapper i {
    font-size: 32px;
    color: #4CAF50;
}

.fd-summary-table thead th {
    font-weight: 800 !important;
    background-color: #fcfcfc;
    color: #555;
    font-size: 13px;
    vertical-align: middle;
}

.fd-summary-table td {
    vertical-align: middle;
    font-size: 14px;
}

.fd-badge-status {
    padding: 6px 12px;
    border-radius: 4px;
}

.fd-badge-priority {
    padding: 6px 12px;
    border-radius: 4px;
}

.badge-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
}

.fd-btn-action {
    padding: 10px 20px;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}

.fd-summary-actions {
    /* border-top: 1px solid #f0f0f0; */
}

.fd-action-opendesk-btn {
    background-color: #007bff !important;
    color: #ffffff !important;
    font-weight: 800;
    border: none;
    padding: 12px 25px;
    border-radius: 5px !important;
    text-transform: none !important;
    font-size: 14px !important;
}

.fd-action-opendesk-btn:hover,
.fd-action-opendesk-btn:focus,
.fd-action-opendesk-btn:active {
    background-color: #659fdd !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    outline: none !important;
}

.fd-action-refresh-btn {
    background-color: #646f7a !important;
    color: #ffffff !important;
    font-weight: 800;
    border: none;
    padding: 12px 25px;
    border-radius: 5px !important;
    text-transform: none !important;
    font-size: 14px !important;
}

/* Ticket Activity Timeline Styles */
.fd-activity-timeline-card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background: #fff;
    margin-bottom: 30px;
    margin-left: 20px;
    margin-right: 20px;
    overflow: hidden;
}

.fd-activity-timeline-header {
    padding: 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8f9fa;
}

.fd-activity-timeline-header h5 {
    margin: 0;
    font-weight: 700;
    color: #444;
    font-size: 16px;
    text-align: left;
}

.fd-timeline-container {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.fd-timeline-container::-webkit-scrollbar {
    width: 6px;
}

.fd-timeline-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.fd-timeline-item {
    display: flex;
    position: relative;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left !important;
}

.fd-timeline-item:last-child {
    border-bottom: none;
}

.fd-timeline-item::before {
    content: "";
    position: absolute;
    left: 47px;
    top: 0;
    bottom: 0;
    width: 1px;
    border-left: 1px dashed #e0e0e0;
    z-index: 0;
}

/* Adjust line for first and last items */
.fd-timeline-item:first-child::before {
    top: 40px;
}
.fd-timeline-item:last-child::before {
    bottom: unset;
    height: 40px;
}

.fd-timeline-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    z-index: 1;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #eee;
}

.fd-timeline-content {
    margin-left: 20px;
    flex-grow: 1;
    text-align: left !important;
}

.fd-timeline-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    text-align: left !important;
}

.fd-timeline-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-right: 15px;
    text-transform: none;
}

.fd-timeline-user {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

.fd-timeline-time {
    color: #888;
    font-size: 13px;
}

.fd-timeline-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    text-align: left !important;
    margin: 0;
}

/* Icons Styles to match target image */
.fd-bg-created { background-color: #66bb6a; color: #fff; border: none; }
.fd-bg-note { background-color: #42a5f5; color: #fff; border: none; }
.fd-bg-status { background-color: #ffa726; color: #fff; border: none; }
.fd-bg-group { background-color: #7e57c2; color: #fff; border: none; }
.fd-bg-agent { background-color: #26c6da; color: #fff; border: none; }

.fd-timeline-icon i {
    font-size: 20px;
}

/* Badge Colors - matching target image subtle look */
.fd-badge-created { background-color: #eaf6ea; color: #4CAF50; }
.fd-badge-note { background-color: #e3f2fd; color: #2196F3; }
.fd-badge-status { background-color: #fff3e0; color: #FF9800; }
.fd-badge-group { background-color: #f3e5f5; color: #673AB7; }
.fd-badge-agent { background-color: #e0f7fa; color: #00BCD4; }

.width-180{
    width: 180px;
}

.width-220{
    width: 220px;
}
.width-250{
    width: 250px;
}
.width-280{
    width: 280px;
}