 :root {
            --primary-text-color: #1a202c;
            --secondary-text-color: #718096;
            --background-color: #f7fafc;
            --card-background: #ffffff;
            --border-color: #e2e8f0;
            --shadow-color: rgba(0, 0, 0, 0.05);
            --light-grey: #f0f0f0;
            --btn-border-color: #d1d1d1;
            /* Changed primary-color to match the green in the image for main elements */
            --primary-color: #1dc8cd;
            /* A shade of green matching the image's section titles */
            --primary-hover-color: #43A047;
            /* Darker green on hover */
            --success-color: #38a169;
            --border-radius: 12px;
            --transition: all 0.3s ease;
            --edit-button-bg: #FF9800;
            /* Orange color for Edit buttons */
            --edit-button-hover-bg: #FB8C00;
            --edit-button-color: #ffffff;
        }

        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--background-color);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            color: var(--primary-text-color);
            box-sizing: border-box;
        }

        /* Enhanced header styling */
        .navbar {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
        }

        .navbar-nav .nav-link {
            font-weight: 500;
            transition: var(--transition);
        }

        .navbar-nav .nav-link:hover {
            color: var(--primary-color);
        }

        .navbar-nav .nav-item.active .nav-link {
            color: var(--primary-color);
            font-weight: 600;
        }

        /* Enhanced page banner */
        .page-banner {
            padding: 40px 0;
            color: white;
            position: relative;
            margin-bottom: 40px;
        }

        .page-banner h1 {
            font-weight: 700;
            margin-bottom: 0;
        }

        .breadcrumb {
            background: transparent;
            justify-content: center;
        }

        .breadcrumb-item a {
            color: rgba(255, 255, 255, 0.8);
        }

        .breadcrumb-item.active {
            color: white;
        }

        /* Main content styling */
        .main-profile-content-wrapper {
            flex-grow: 1;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 0 20px 40px;
            box-sizing: border-box;
        }

        .profile-content-area {
            width: 100%;
            max-width: 1100px;
        }

        .page-title {
            font-family: 'Poppins', sans-serif;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 25px;
            color: #388E3C;
            text-align: left;
            padding-left: 0;
        }

        /* Enhanced card styling */
        .profile-card,
        .personal-information-card,
        .address-card {
            background-color: var(--card-background);
            border-radius: var(--border-radius);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
            padding: 30px;
            margin-bottom: 25px;
            transition: var(--transition);
            border: 1px solid var(--border-color);
            width:1100px;
        }

        /* my_account.css */

/* ... Aapke existing styles yahan ... */

/* General Card Styling - ensure this applies to all cards */
.profile-card,
.personal-information-card,
.address-card,
.additional-company-details-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.profile-card:hover,
.personal-information-card:hover,
.address-card:hover,
.additional-company-details-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee; /* Light separator below header */
}

.card-title {
    margin: 0;
    font-size: 1.5rem; /* Consistent title size */
    font-weight: 600;
}

/* Info Grid Styling - applies to .info-grid inside all cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Responsive 2-column or 1-column layout */
    gap: 20px; /* Space between grid items */
}

.info-item {
    padding: 10px 0; /* Vertical padding */
    /* border-bottom: 1px solid #f0f0f0;  Light separator for each item */
    /* Agar aapko har item ke neeche line nahi chahiye to isse remove kar dein */
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-size: 0.9em;
    color: #888;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-item p {
    font-size: 1.05em;
    color: #333;
    font-weight: 600;
    margin-bottom: 0; /* Remove default paragraph margin */
}

.editable-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    color: #495057;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.editable-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.editable-input[type="checkbox"] {
    width: auto; /* Checkbox should not take full width */
    margin-top: 5px;
    height: 1.2em; /* Adjust size for better visual */
    margin-left: 0; /* Remove default margin */
}

/* Utility class to hide/show elements */
.hidden {
    display: none !important;
}

/* Buttons for edit/save/cancel */
.edit-button {
    background: none;
    border: none;
    color: #1dc8cd;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.edit-button:hover {
    background-color: rgba(29, 200, 205, 0.1);
}

.btn-cancel {
    background-color: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.2s;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

.btn-save {
    background-color: #1dc8cd;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-save:hover {
    background-color: #15a0a6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr; /* On smaller screens, stack columns */
    }
}

        .profile-card:hover,
        .personal-information-card:hover,
        .address-card:hover {
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);
        }

        /* Profile card specifics (top section) */
        .profile-card {
            display: flex;
            flex-direction: row;
            /* align-items: center; */
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 25px;
            padding: 20px 30px;
            margin-bottom: 30px;
            width:1100px;
        }

        .profile-details-main {
            display: flex;
            gap: 20px;
            flex: 1;
            min-width: 280px;
        }

        .profile-image-wrapper {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
            border: #1dc8cd;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .profile-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .profile-image-wrapper .camera-icon {
            position: absolute;
            bottom: 0;
            right: 0;
            background-color: #1dc8cd;
            border-radius: 50%;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .profile-image-wrapper .camera-icon svg {
            width: 14px;
            height: 14px;
            fill: white;
        }

        .profile-text-info {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .editable-field-group {
            position: relative;
            margin-bottom: 4px;
        }
        .editable-field-group:last-child {
            margin-bottom: 0;
        }

        .profile-name {
            font-family: 'Poppins', sans-serif;
            font-size: 22px;
            font-weight: 600;
            margin: 0;
            color: var(--primary-text-color);
            line-height: 1.3;
            padding: 4px 0;
            min-height: 32px;
            box-sizing: border-box;
        }

        .profile-name-input {
            width: 100%;
            padding: 6px 10px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            font-family: 'Poppins', sans-serif;
            font-size: 20px;
            font-weight: 600;
            box-sizing: border-box;
            background-color: var(--background-color);
            transition: var(--transition);
        }

        .profile-role-location-display {
            font-family: 'Poppins', sans-serif;
            font-size: 15px;
            color: var(--secondary-text-color);
            margin: 0;
            line-height: 1.4;
            padding: 4px 0;
            min-height: 32px;
            box-sizing: border-box;
        }
        .profile-role-location-input {
            width: 100%;
            padding: 6px 10px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            box-sizing: border-box;
            background-color: var(--background-color);
            transition: var(--transition);
        }

        .profile-actions {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
            margin-left: auto;
        }

        .social-links {
            display: none; /* Not present in the original image's top section */
        }

        /* Edit Button for Sections (Profile, Personal Info, Address) */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e0e0e0;
        }

        .card-title {
            font-family: 'Poppins', sans-serif;
            font-size: 20px;
            font-weight: 600;
            margin: 0;
            color: #388E3C;
        }

        .edit-button,
        .btn-save,
        .btn-cancel {
            background-color: #1dc8cd;
            color: var(--edit-button-color);
            padding: 8px 18px;
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
            border: none;
            outline: none;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .edit-button:hover {
            background-color: var(--edit-button-hover-bg);
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .edit-button::before {
            content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff" width="16px" height="16px"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>');
            display: inline-block;
            vertical-align: middle;
            margin-right: 2px;
            line-height: 1;
        }

        .btn-cancel {
            background-color: #e0e0e0;
            color: var(--secondary-text-color);
            border: 1px solid #ccc;
        }

        .btn-cancel:hover {
            background-color: #d1d1d1;
            color: var(--primary-text-color);
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .btn-save {
            background-color: var(--primary-color);
            color: white;
            border: 1px solid var(--primary-color);
        }

        .btn-save:hover {
            background-color: var(--primary-hover-color);
            border-color: var(--primary-hover-color);
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }


        /* Personal Information Card & Address Card Grids */
        .info-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px 30px;
            width: 100%;
        }

        .info-item {
            display: flex;
            flex-direction: column;
        }

        .info-item label {
            font-family: 'Poppins', sans-serif;
            font-size: 13px;
            color: var(--secondary-text-color);
            margin-bottom: 6px;
            font-weight: 500;
            text-transform: capitalize;
        }

        .info-item p {
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            color: var(--primary-text-color);
            margin: 0;
            font-weight: 500;
            word-break: break-all;
            padding: 6px 0;
            min-height: 32px;
            box-sizing: border-box;
        }

        .editable-input {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            color: var(--primary-text-color);
            box-sizing: border-box;
            transition: var(--transition);
            background-color: var(--background-color);
        }

        .editable-input:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
            background-color: var(--card-background);
        }

        .hidden {
            display: none !important;
        }

        /* Enhanced footer */
        footer {
            margin-top: 50px;
            background-color: #2c3e50;
            color: white;
            padding: 40px 0 20px 0;
        }

        footer h3,
        footer h5 {
            color: white;
            font-weight: 600;
        }

        footer p,
        footer li,
        footer a.footer-link {
            color: rgba(255, 255, 255, 0.7);
        }

        footer a.footer-link:hover {
            color: white;
        }

        .footer-menu li a {
            padding: 5px 0;
            display: block;
            transition: all 0.3s ease;
        }

        .footer-menu li a:hover {
            transform: translateX(5px);
            color: var(--primary-color);
        }

        .social-media-button a {
            display: inline-flex;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            transition: all 0.3s ease;
            color: white;
        }

        .social-media-button a:hover {
            background-color: var(--primary-color);
        }

        #copyright a {
            color: var(--primary-color);
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .profile-content-area {
                max-width: 768px;
            }

            .info-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .profile-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
                padding: 20px;
            }

            .profile-details-main {
                flex-direction: row;
                align-items: center;
                gap: 15px;
                width: 100%;
            }

            .profile-image-wrapper {
                width: 60px;
                height: 60px;
            }

            .profile-image-wrapper .camera-icon {
                width: 20px;
                height: 20px;
                padding: 4px;
            }

            .profile-image-wrapper .camera-icon svg {
                width: 12px;
                height: 12px;
            }

            .profile-name {
                font-size: 20px;
            }

            .profile-role-location-display {
                font-size: 14px;
            }

            .page-title {
                font-size: 22px;
                margin-bottom: 20px;
            }

            .card-title {
                font-size: 18px;
            }

            .edit-button,
            .btn-save,
            .btn-cancel {
                padding: 7px 15px;
                font-size: 13px;
            }

            .info-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .info-item label {
                font-size: 12px;
            }

            .info-item p,
            .editable-input {
                font-size: 15px;
            }

            .page-banner {
                margin-bottom: 30px;
            }

            .main-profile-content-wrapper {
                padding-bottom: 30px;
            }
        }

        @media (max-width: 480px) {
            .profile-card,
            .personal-information-card,
            .address-card {
                padding: 15px;
            }

            .profile-name {
                font-size: 18px;
            }

            .profile-role-location-display {
                font-size: 13px;
            }

            .page-title {
                font-size: 20px;
            }

            .card-title {
                font-size: 17px;
            }

            .edit-button::before {
                width: 14px;
                height: 14px;
            }

            .info-item p,
            .editable-input {
                font-size: 14px;
            }
        }

        /* Ensure the main personal information card also uses a consistent grid/flex layout */
.personal-information-card .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Creates a responsive 2-column layout */
    gap: 15px 30px; /* Adjust vertical and horizontal spacing */
    margin-top: 20px;
}

/* Apply similar styling to the dynamically generated extra-info-grid */
.extra-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Consistent 2-column layout */
    gap: 15px 30px;
    margin-top: 20px;
}

/* Style individual info items to align label and value horizontally */
.info-item {
    display: flex; /* Use flexbox for horizontal alignment within each item */
    justify-content: space-between; /* Pushes label to left and value to right */
    align-items: left; /* Vertically centers the text */
    padding: 5px 0; /* Add some vertical padding */
}

.info-item label {
    font-weight: 600; /* Make labels slightly bolder for distinction */
    color: #333; /* Darker color for labels */
    flex-shrink: 0; /* Prevent label from shrinking */
    margin-right: 10px; /* Space between label and value */
}

.info-item p {
    margin: 0; /* Remove default paragraph margin */
    text-align: left; /* Align value to the right */
    color: #555; /* Slightly lighter color for values */
    word-break: break-all; /* Ensures long values wrap */
}
/* my_account.css */

/* ... Aapke existing styles yahan ... */

/* General Card Styling - ensure this applies to all cards */
.profile-card,
.personal-information-card,
.address-card,
.additional-company-details-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.profile-card:hover,
.personal-information-card:hover,
.address-card:hover,
.additional-company-details-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between; /* This is key for pushing items apart */
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee; /* Light separator below header */
}

.card-title {
    margin: 0;
    font-size: 1.5rem; /* Consistent title size */
    font-weight: 600;
    flex-grow: 1; /* Allow title to take up available space, pushing buttons right */
    margin-right: 15px; /* Add some space between title and buttons */
    /* Optional: If title text is very long, prevent it from pushing buttons off screen */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure the button containers themselves don't collapse or have weird margins */
.view-mode-buttons,
.edit-mode-buttons {
    display: flex; /* Ensure they are also flex containers */
    align-items: center;
    flex-shrink: 0; /* Prevent buttons from shrinking if space is tight */
}

.editable-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    color: #495057;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.editable-input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.editable-input[type="checkbox"] {
    width: auto; /* Checkbox should not take full width */
    margin-top: 5px;
    height: 1.2em; /* Adjust size for better visual */
    margin-left: 0; /* Remove default margin */
}

/* Utility class to hide/show elements */
.hidden {
    display: none !important;
}

/* Buttons for edit/save/cancel */
.edit-button {
    background: none;
    border: none;
    color: #1dc8cd;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.edit-button:hover {
    background-color: rgba(29, 200, 205, 0.1);
}

.btn-cancel {
    background-color: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px; /* Space between cancel and save */
    transition: background-color 0.2s;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

.btn-save {
    background-color: #1dc8cd;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-save:hover {
    background-color: #15a0a6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr; /* On smaller screens, stack columns */
    }
}
/* 🔹 Default hidden for edit mode */
.hidden {
  display: none;
}

.editable-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s ease-in-out;
}

.editable-input:focus {
  background-color: #fff;
  border-color: #1dc8cd;
  outline: none;
}

.info-item p {
  margin: 0;
  font-size: 15px;
  color: #333;
}
