@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #2e8b57;
    --secondary-color: #34495e;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --light-bg: #f8f9fa;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    background: linear-gradient(45deg, #04333a7d, #04333a);
    min-height: 100vh;
    display: block;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-container {
    max-width: 480px;
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px 20px;
    text-align: center;
    color: var(--white);
}

.view-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.profile-section {
    margin-top: -50px;
    padding: 0 20px;
    text-align: center;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--white);
    margin: 0 auto;
    background: var(--light-bg);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.company-name {
    margin-top: 15px;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.designation {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 5px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
}

/* 
.btn {
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
} */

.btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-info {
    padding: 20px;
    background: var(--light-bg);
}

.info-item {
    display: flex;
    align-items: center;
    /* gap: 15px; */
    padding: 12px;
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.button {
    margin-right: 2%;

}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* 
.navigation {
    display: grid;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: repeat(5, 1fr);
    background: var(--white);
    padding: 10px;
    gap: 30px;
    border-top: 1px solid #eee;
}
 */

.navigation {
    /* margin-left: 25%; */
    display: flex;
    position: fixed;
    height: 7%;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: repeat(5, 1fr);
    background: var(--white);
    padding: 10px;
    gap: 8%;
    border-top: 1px solid #eee;
    width: 100%;
    padding-left: 9%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
    font-size: 0.7rem;
    padding: 8px 5px;
    transition: color 0.3s ease;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.nav-item:hover {
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation: fadeInUp 0.5s ease forwards;
}

@media (max-width: 480px) {
    .action-buttons {
        grid-template-columns: 1fr;
    }

    .company-name {
        font-size: 1.3rem;
    }

    .navigation {
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        bottom: 20px;
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 1;
        padding-left: 3%;
    }

    .button {
        margin-left: 550% !important;
    }
}

@media (max-width: 780px) {
    .action-buttons {
        grid-template-columns: 1fr;
    }

    .company-name {
        font-size: 1.3rem;
    }

    .navigation {
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        bottom: 0px;
        left: 0;
        width: 100%;
        text-align: center;
        z-index: 1;
        padding-left: 3%;
    }

    .button {
        margin-left: 66% !important;
    }

}


body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

.container {
    margin-top: 50px;
}

.table th,
.table td {
    text-align: center;
}

.action-btns button {
    margin-right: 5px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.header h1 {
    flex: 1;
    font-size: 20px;
    margin: 0;
}

.search-container {
    padding: 20px;
    margin-left: -8%;

}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 20px;
}

.result-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.result-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-item .details {
    font-size: 16px;
}

.result-item .details span {
    display: block;
    color: #555;
}

.result-item .arrow {
    color: #007bff;
    font-size: 18px;
}

#badges {
    margin-right: 0%;

}


/* .badge {
  --bs-badge-padding-x: 0.65em;
  --bs-badge-padding-y: 0.35em;
  --bs-badge-font-size: 0.75em;
  --bs-badge-font-weight: 700;
  --bs-badge-color: #fff;
  --bs-badge-border-radius: var(--bs-border-radius);
  display: inline-block;
  padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
  font-size: var(--bs-badge-font-size);
  font-weight: var(--bs-badge-font-weight);
  line-height: 1;
  color: #e0d4d4;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-badge-border-radius);
  background-color: red;
  } */

.container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Search bar and button container */
.search-bar-container {
    /* margin-left: -4.5%; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

/* Search bar styles */
#search-bar {
    height: 60px;
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px solid blue;
}

/* Add customer button styles */
.add-customer-button {
    /* margin-right: -3%; */
    height: 60px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    /* Primary color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-customer-button:hover {
    background-color: #0056b3;
    /* Darker shade for hover */
}