﻿/* Base layout styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #F4F5FA;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /*padding-bottom: 50px;*/ /* at least footer height */
    flex: 1;
}

.sidebar {
    width: 60px;
    background-color: #f8f9fa;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding-top: 60px; /* Adjust if you have a top header */
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #ddd;
    z-index: 999;
    height: 100vh;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-top: 30px;
    overflow-y:auto; /*enable vertical scroll*/
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar {
    display: none;
}

    .nav-links a {
        font-size: 24px;
        color: #333;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }
        .nav-links a:hover {
            background-color: #e2e6ea;
        }
        .nav-links a.active {
            color: #7D79FB;
            background-color: white;
            border-left: 4px solid #7D79FB; 
            border-radius: 4px; 
        }

/* Logout link at bottom */
.logout-link {
    padding-top: 50px;
}

    .logout-link a {
        font-size: 24px;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }
        .logout-link a:hover {
            background-color: #e2e6ea;
        }
/*TopHeader*/

.top-header-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between; /* Add this */
    padding: 10px 20px; /* Adjust spacing if needed */
    background-color: white;
    color: #4D4C4C;
    position: fixed;
    top: 0;
    left: 0;    
    right: 0;
    height: 60px;
    z-index: 1000;
    border: 3px solid #f9f9f9;
    flex-wrap: wrap;
    gap: 20px; /* Add gap for spacing */
}

.header-logo {
    height:40px;
    width: auto;
    margin-right: 0/*500px*/;
}
.header-logo2 {
    height: 56px;
    width: auto;
    margin-left: 0/*100px*/;
}

.dropdown-section {
    height: 40px;
    min-width: 150px;
    font-size: 12px;
    padding: 5px 8px;
    margin-left: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.logo-text {
    font-weight: bold;
    font-size: 18px;
    color: #4D4C4C;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
  
}
    .page-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50%;
        height: 2px;
        background-color: #7D79FB;
    }
.agent-label {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-right: 5px;
}

/*UserInfo*/

.right-section {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 1;
    overflow: hidden;
    align-items: center;
    justify-content: flex-end;
    max-width: 100%;
    min-width: 0;
    transform: none;
    gap: 0.3rem;
}
.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.username-label {
    max-width: 500px;
    white-space: nowrap;
    word-break: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
}

.middle-section {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateX(-80px);
}

.left-section,
.right-section,
.middle-section{
    margin-top: -13px; /* fine-tune upward position */
}

/* Responsive adjustments */
@media (max-width: 900px) {
    /* Shrink dropdown and agent label a bit */
    .dropdown-section {
        min-width: 120px;
        font-size: 11px;
    }

    .agent-label {
        font-size: 12px;
    }

    /* Reduce logo sizes */
    .header-logo {
        height: 30px;
    }

    .header-logo2 {
        height: 40px;
    }

    /* User info: place username left of icon if enough space */
    .right-section {
        justify-content: flex-start;
        gap: 0.3rem;
        flex-wrap: nowrap;
    }

    .username-label {
        max-width: 120px;
    }
}

@media (max-width: 600px) {
    /* When super small, move username below icon */
    .right-section {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0.1rem;
        min-width: 80px;
    }

    .user-icon {
        order: 0;
    }

    .username-label {
        order: 1;
        max-width: 100%;
        text-align: left;
        font-size: 0.9rem;
    }

    /* Allow dropdown and agent label to wrap nicely */
    .left-section {
        flex-wrap: wrap;
        min-width: 100px;
        margin-right: 0.5rem;
    }

    /* Reduce dropdown width */
    .dropdown-section {
        min-width: 100px;
        font-size: 10px;
        margin-left: 0;
    }
}


.main-content {
    flex-grow: 1;
    margin-left: 20px;
    padding-top: 80px; /* Leave space for fixed header */
    width: 100%;
}

.dashboard-grid {
    display: flex;
    gap: 20px;
    flex-direction: row;
    width: 100%;
}

/* Adjusted containers for new layout */
.dashboard-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Component containers */
.c1 {
    background-color: white;
}

.c2, .c3, .c4, .c5{
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Adjust container sizes */
.c1 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.c2 {
    flex: 2;
}

.c4 {
    flex: 7; /* Adjust for the 70% width */
}

.c5 {
    flex: 3; /* Adjust for the 30% width */
    display: flex;
    flex-direction: column; /* Vertical design */
}

.c6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-left: 0px;
    margin: auto;
    height: 480px;
}
.chart-container2 {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-left: 0px;
    margin: auto;
    height: 225px;
}
.chart-container3 {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-left: 0px;
    margin: auto;
    height: 480px;
}

.chart-container4 {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-left: 0px;
    margin: auto;
    height: 180px;
    width: 70%;
}
/* Stats + Call table */
.stat-box {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

    .stat-box.total {
        background: linear-gradient(135deg, white, white);
        border-bottom: 4px solid #7D79FB;
    }

    .stat-box.transferred {
        background: linear-gradient(135deg, white, white);
        border-bottom: 4px solid #2DCE89;
    }

    .stat-box.duration {
        background: linear-gradient(135deg, white, white);
        border-bottom: 4px solid #f61111;
    }
    .stat-box.unanswered {
        background: linear-gradient(135deg, white, white);
        border-bottom: 4px solid #FFBF00;
    }

    .stat-box.unresolved {
        background: linear-gradient(135deg, white, white);
        border-bottom: 4px solid #ff4f01;
    }

    .stat-box.resolved2 {
        background: linear-gradient(135deg, white, white);
        border-bottom: 4px solid #a6a4f2;
    }

    .stat-box.sms {
        background: linear-gradient(135deg, white, white);
        border-bottom: 4px solid #83b9f3;
    }

    .stat-box .label {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .stat-box .count {
        font-size: 24px;
        font-weight: bold;
    }

/* Call records layout */
.call-records {
    overflow-x: auto; 
}

    .call-records .call-header {
        display: flex;
        font-weight: bold;
        margin-bottom: 10px;
        font-size: 14px;
        /*flex-wrap: nowrap;*/ /* Prevent wrapping to next line */
        /*min-width: max-content;*/
    }

    .call-records .call-data {
        display: flex;
        margin-bottom: 10px;
        font-size: 14px;
        /*flex-wrap: nowrap;*/ /* Prevent wrapping to next line */
        /*min-width: max-content;*/
    }

        .call-records .call-header div,
        .call-records .call-data div {
            display: inline-block;
            width: 100%;
            text-align: left;
            /*flex: 0 0 auto;  
            padding: 6px 12px;  
            white-space:nowrap;*/
        }

    .call-records .call-header .flex-grow-1,
    .call-records .call-data .flex-grow-1 {
        flex-grow: 1;
    }

/* Pagination */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

    .pagination a {
        padding: 8px 16px;
        text-decoration: none;
        color: #007BFF;
        border: 1px solid #007BFF;
        border-radius: 4px;
        margin: 0 5px;
    }

        .pagination a:hover {
            background-color: #007BFF;
            color: white;
        }
        .pagination a.active-page {
            background-color: #7D79FB;
            color: white;
            border-color: #7D79FB;
            pointer-events: none; /* Optional: disable clicking on active page */
        }

/* Media query for responsiveness */
@media (max-width: 768px) {
    .dashboard-grid {
        flex-direction: column;
    }
}

/* Receptionist Container */
.receptionist-container {
    padding: 20px;
    /*max-width: 800px;*/
    margin: auto;
    margin-left: 0px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, white, #7D79FB);
    
}
 /*   .receptionist-container h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .receptionist-container p {
        font-size: 18px;
    }
*/
    .receptionist-info h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .receptionist-info p {
        font-size: 18px;
    }

.filter-box {
    background-color: #f0f0ff; /* subtle purple background */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .filter-box input[type="date"] {
        max-width: 130px; /* keeps inputs compact */
    }


.phone-label {
    font-size: 18px;
    font-weight: normal; /* prevents bold */
    color: #333; /* optional */
}

.receptionist-container2 {
    padding: 20px;
    height: 100px; /* keep same height for alignment */
    margin: auto;
    margin-left: 0px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, white, #7D79FB);
    display: flex;
    justify-content: space-between;
    align-items: center; /* center vertically inside fixed height */
}

.receptionist-info h2 {
    font-size: 24px;
    margin: 0; /* remove big gaps */
}

.receptionist-info h4 {
    font-size: 18px;
    margin: 5px 0 0 0; /* small gap under name */
    font-weight: normal;
    color: #333;
}

/* Stats Container (Flex for vertical layout) */
.stats-container {
    display: flex;
    flex-direction: column; /* or 'grid' for different layouts */
    gap: 25px;
}

/* Call Volume and Stats side by side */
.c4, .c5 {
    display: flex;
    gap: 20px;
}

.stat-box {
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
    height: 97px;
}

    .stat-box .label {
        font-weight: bold;
    }

    .stat-box .count {
        font-size: 18px;
    }

    .stat-box:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    /* Click Effect */
    .stat-box:active {
        transform: scale(0.97);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    }


#c6 {
    border-radius: 8px;  
    padding: 20px; 
    background-color: white; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
/* Recent Calls layout */
.call-records h3{
    margin-top: 10px;
    margin-bottom: 20px;
}

.call-header,
.call-data {
    display: grid;
    grid-template-columns: 120px 200px 180px 400px 120px 220px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    column-gap: 20px;
    align-items: center;
    text-align: left;
    width: 100%;
}

.call-header {
    font-weight: bold;
    background-color: #acbdf3;
}

.call-data {
    color: #6F757E;
}

    .call-header div,
    .call-data div {
        padding: 0 8px;
        min-height: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* To make sure columns don't collapse if empty */


.call-header .dropdown {
    position: relative;
    z-index: 10;
}

.call-header .dropdown-menu {
    z-index: 1050;
    display: none; /* ensure dropdown shows properly when .show is added */
}
    .call-header .dropdown-menu.show {
        display:block;
        transform: none !important;
        top: 100% !important;
        left: 0 !important;
    }

.call-data:hover {
    background-color: #eae9ff;
    border-radius: 8px;
    border-left: 4px solid #7D79FB;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-link {
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.page-link:hover {
    background-color: #0056b3;
}

/*Login*/

.login-body {
    height: 100vh;
    align-items: center;
    justify-content: center;
    display: flex;
    background: linear-gradient(135deg, #f5f7ec, /* Fresh Lime Green */
    #cfeaef, /* Sky/Blue tone */
    #f2ead7, /* Warm Golden Brown */
    #f3eae3 /* Rich Earthy Brown */
    );
}

.login-container {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 700px;
}

.login-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1d3557;
}

.login-title2 {
    font-size: 18px;
    margin-bottom: 40px;
    color: #1d3557;
}

.fancy-btn {
    display: inline-flex;
    align-items: center;
   
    height: 41px;
    padding: 0 12px; 
    gap: 12px; 

    background-color: #2F2F2F;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Segoe UI';
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none; 
    transition: all 0.3s ease;
}

.btn-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.btn-text{
    line-height: 41px;
}
    .fancy-btn:hover {
        background-color: #1d3557;
        transform: scale(1.05);
    }

.translation {
    font-style: italic;
    color: #555;
}

.chat-message .bubble a {
    font-size: 0.875rem;
}
span.form-check-input {
    border: none;
    padding: 0;
    margin: 0;
    display: contents;
}
.assign-agents {
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.form-check input[type="checkbox"] {
    margin-right: 5px;
}

.form-check label {
    display: block;
}
.form-check input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}

.form-check label {
    display: inline-block;
    margin-left: 2px;
    vertical-align: middle;
}

.form-check span {
    display: block;
    margin-bottom: 5px;
}
.fixed-label {
    min-width: 130px; /* or 70px, adjust based on actual label length */
    display: inline-block;
    text-align: left;
}
.text-danger {
    color: red;
    font-weight: bold;
}
.btn-link {
    color: black !important;
}
.hide-column {
    display: none !important;
}

/* Add this in your CSS file or inside a <style> tag */
.btn-history {
    background-color: #acbdf3 !important; /* your color */
    color: #000 !important; /* text color */
    font-size: 0.8rem; /* smaller text */
    padding: 0.25rem 0.5rem; /* smaller button padding */
    border-radius: 0.25rem; /* optional: rounded corners */
}

.summary-scroll {
    max-height: 515px; /* adjust to fit screen */
    overflow-y: auto;
    margin-top: 15px;
}

.summary-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    cursor: pointer;
}

.summary-time {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.summary-text {
    font-size: 14px;
}

.summary-box.active-summary {
    background-color: #e9f5ff;
    border-left: 4px solid #7D79FB;
}

.transfer-list {
    width: 100%;
    margin-top: 20px;
}

#TransferList {
    max-height: 400px; /* adjust as needed */
    overflow-y: auto; /* vertical scroll */
    padding: 5px;
    font-size: 0.9rem; /* smaller font size */
}

.transfer-item {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%; 
    padding: 6px;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid #eee; 
}

    .transfer-item .count {
        color: #7D79FB;
        font-weight: bold;
    }

.filter-label {
    width: 80px; /* fix label width so Start/End align */
    font-weight: bold;
    font-size: 14px;
}

.filter-input {
  
    max-width: 160px; /* keeps input compact */
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1; /* stretch to fill body */
}

.footer-container {
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #ccc;
    padding: 8px 0;
    text-align: center;
    flex-shrink: 0;
}

.settings-section {
    height: 100%;
}

.custom-calendar #closedDatesCalendar {
    width: 100%;
    height: 90%;
}

.vanilla-calendar {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vanilla-calendar__month {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vanilla-calendar__header,
.vanilla-calendar__week {
    flex: none; /* keep header & week row natural height */
    margin: 0;
    padding: 2px 0; /* optional: reduce extra space */
}

.vanilla-calendar__days {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 1fr; /* make each row equally divide remaining height */
    gap: 1px;
    margin: 0;
    align-items: normal;
}

.vanilla-calendar__day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* increase text size */
    padding: 2px;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd; /* optional: thin border */
}
    .vanilla-calendar__day.holiday {
        background-color: #ffdddd !important;
        color: #d00 !important;
        font-weight: bold;
    }

.custom-calendar .vanilla-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    flex-grow: 1;
    align-items: stretch !important; /* override built-in center */
    justify-items: center;
    row-gap: 0; /* optional, reduce gap */
}

#closedDatesCalendar .vanilla-calendar-months > .vanilla-calendar-month:nth-child(2) {
    display: none !important;
}

/* reduce dropdown font size */
.ui-timepicker-wrapper {
    font-size: 12px !important; /* force smaller font */
    max-height: 150px !important; /* shrink height */
    overflow-y: auto !important;
}

/* reduce spacing between items */
.ui-timepicker-list li {
    padding: 2px 6px !important;
    line-height: 1.2 !important;
}

.ui-timepicker-standard {
    font-size: 14px;
}

.filter-container {
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 144px;
}

    .filter-container h6 {
        border-bottom: 2px solid #ddd;
        padding-bottom: 6px;
        margin-bottom: 15px;
    }

/* Flex row for date inputs and button */
.filter-row {
    display: flex;
    flex-wrap: wrap; /* wrap on small screens */
    align-items: center; /* vertical alignment */
    gap: 10px;
}

.filter-container2 {
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 100px;
}
.filter-container2 h6 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

/* Each date input group */
.date-group {
    flex: 1 1 150px; /* grow, shrink, base width */
    min-width: 120px; /* prevent too small on small screens */
    display: flex;
    align-items: center;
}

.date-input {
    width: 100%; /* fill container */
    box-sizing: border-box;
}

/* Button styling */
.filter-row .btn {
    flex: 0 0 auto; /* don't grow/shrink */
    padding: 4px 12px; /* smaller vertical and horizontal padding */
    font-size: 0.85rem; /* slightly smaller text */
    line-height: 1.4; /* match input vertical alignment */
}

/* Responsive adjustment for really small screens */
@media (max-width: 500px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }

        .filter-row .btn {
            width: 100%;
        }
}

.chart-metric {
    text-align: left;
    padding: 15px;
    border-radius: 12px;
    background-color: #f9fafb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.metric-value {
    font-size: 32px;
    font-weight: bold;
    color: #222;
}

.total-duration {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 8px;
}

.chart-wrapper {
    width: 200px; /* tiny chart width */
    height: 200px; /* chart height */
}

/* keep your existing .chart-container as-is */

.chart-divider {
    align-self: stretch; /* ensures full height inside flex */
}

/* makes chart canvas area respect flex sizing */
#chartLeft {
    min-width: 0; /* allow shrinking inside flex container */
    height: 100%;
}

#chartLegend {
    align-self: flex-start; /* move legend to top */
    margin-top: -15px; /* optional fine-tuning */
}

/* legend item styles */
#chartLegend .legend-item {
    display: flex;
    align-items: center;
    /*cursor: pointer;*/
    margin-bottom: 10px;
}

#chartLegend .legend-swatch {
    width: 16px;
    height: 12px;
    margin-right: 8px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.08);
}

#chartLegend .legend-title {
    font-weight: 600;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    font-size: 14px;
}

/*hide sentiment graph*/
.col-md-4.d-flex.align-items-center {
    display: none !important;
}

.receptionist-info h4 {
    min-height: 44px; /* or 24/28px depending on your font */
    padding-top: 15px;
}

/*#viewContactsModal .modal-dialog {
    margin-top: 300px;*/ /* adjust this value to move modal lower */
/*}*/

#viewContactsModal.modal {
    padding-top: 300px; /* pushes modal down */
}

.add-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

    .add-icon-btn i {
        font-size: 20px;
        color: #2F2F2F;
    }

.remove-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #dc3545;
    font-size: 22px;
}

