/* CSS Variables */
:root {
    --primary-font: 'Open Sans', sans-serif;
    --heading-font: 'Nunito', sans-serif;
    --primary-color: #f57c00;
    --dark-primary-color: #d26e0a;
    --primary-dark: #d26e0a;
    --secondary-color: #d96c00;
    --warning-color: #ffc110;
    --danger-color: #ff0000;
    --dark-danger-color: #ad0202;
    --text-color: #000;
    --white: #fff;
    --navbar-bg: #ffffff;
    --hero-bg-gradient: linear-gradient(90deg, #41349c, #320c58);
    --section-bg-light-grey: #f6f5fa;
    --footer-bg: #232227;
    --footer-bar-bg: #000000;
    --border-radius: 30px;
    --border-color: #c2c2c2;
    --btn-padding: 6px 20px;
    --text-padding: 6px;
    --line-height: 1.7;
    --font-size-lg: 18px; 
    --font-size-md: 16px;
    --font-size-sm: 15px;
    --font-size-nav: 14px;
    --h1-size: 55px;
    --h2-size: 42px;
    --h3-size: 26px;
    --h4-size: 24px;
    --h5-size: 22px;
    --font-normal: 400;
    --font-bold: 600;
    --font-thin: 300;
}

/* General Styles */
body {
    font-family: var(--primary-font);
    font-size: var(--font-size-sm);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: var(--font-bold);
    color: var(--white);
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }
h5 { font-size: var(--h5-size); }

/* Responsive Typography */



@media (max-width: 992px) { /* Tablet View */
    :root {
        --h1-size: 45px;
        --h2-size: 36px;
        --h3-size: 30px;
        --h4-size: 26px;
        --h5-size: 22px;
        --font-size-lg: var(--font-size-sm);
    }
}

@media (max-width: 768px) { /* Mobile View */
    :root {
        --h1-size: 36px;
        --h2-size: 30px;
        --h3-size: 26px;
        --h4-size: 22px;
        --h5-size: 20px;
        --font-size-lg: var(--font-size-sm);
    }
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--footer-bar-bg);
    color: var(--white);
    font-weight: var(--font-bold);
    font-family: var(--heading-font);
}

/* Navbar */
.navbar {
    background: var(--navbar-bg);
    padding: 0px 20px;
/*    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand img {
    height: 50px;
    width: auto;
}
.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--heading-font);
    font-size: var(--font-size-nav);
    font-weight: var(--font-bold);
    color: var(--text-color);
    background-color: var(--bs-gray-300);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: var(--btn-padding);
}

.nav-link:hover {
    color: var(--primary-color);
}


.nav-pills, 
.nav-pills .nav-link {
    border-radius: var(--border-radius);
    gap: 1.5rem !important;
}

.box-summary .nav-link, 
.box-summary .nav-link.active {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: transparent !important;
    cursor: pointer;
}

.box-summary .nav-link .card {
    border-bottom: 6px solid transparent !important;
    transition: all 0.3s ease-in-out !important;
}

.box-summary .nav-link.active .card {
    border-bottom: 6px solid var(--bs-black) !important;
}



/* Hero Section */
.hero-section {
    background: var(--hero-bg-gradient);
    padding: 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100vh; */
}
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}
.hero-section h1 {
    font-size: var(--h1-size);
    font-weight: var(--font-bold);
    color: var(--white);
}
.cta-buttons {
    display: flex;
    gap: 20px;
}
.hero-section img {
    max-width: 120%;
    height: auto;
}

/* Buttons */
.btn-join {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: var(--font-bold);
    border-radius: var(--border-radius);
    padding: var(--btn-padding);
    border: none;
    font-size: var(--font-size-lg);
    transition: 0.3s ease;
}
.btn-join:hover {
    background-color: var(--secondary-color);
}
.btn-login {
    background: transparent;
    color: var(--primary-color);
    font-weight: var(--font-bold);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: var(--btn-padding);
    font-size: var(--font-size-lg);
    transition: 0.3s ease;
}
.btn-login:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Section 2: Who Cast with Us */
.section-cast {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}
.section-cast h2 {
    color: var(--text-color);
    margin-bottom: 40px;
}
.cast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    text-align: left;
    align-items: top;
}
.cast-item h3 {
    font-size: var(--h3-size);
    margin-bottom: 10px;
    color: var(--text-color);
}
.cast-item p {
    font-size: var(--font-size-sm);
    color: var(--text-color);
}
.find-talent-link {
    display: flex;
    justify-content: center;
    align-items: center;
}
.find-talent-link img {
    max-width: 100%;
    height: auto;
}

.overlap-img {
    padding: 0;
    margin: -170px auto 20px auto;
}

.overlap-img img {
    max-width: 70%;
}

.find-top-talent {
    transition: transform 0.3s ease-in-out;
}

.find-top-talent:hover {
    transform: rotate(2deg);
}



/* Section 3: How This Works */
.section-how-it-works {
    padding: 80px 0;
    background: var(--section-bg-light-grey);
    text-align: center;
}
.section-how-it-works h2 {
    color: var(--text-color);
    margin-bottom: 20px;
}
.section-how-it-works p {
    font-size: var(--font-size-sm);
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color);
}
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    align-items: center;
}
.how-it-works-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.how-it-works-item img {
    background: var(--white);
    border-radius: 50%;
    padding: 5px;
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.how-it-works-item h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: 10px;
}
.how-it-works-item p {
    font-size: var(--font-size-sm);
    color: var(--text-color);
    max-width: 250px;
}


/* Join Now Page Styles */
.join-now {
    background: #f6f5fa;
    padding: 60px 0;
    text-align: center;
}

.join-now h1 {
    font-family: 'Nunito', sans-serif;
    font-size: var(--h1-size);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: 15px;
}

.join-now p {
    font-family: var(--primary-font);
    font-size: var(--font-size-sm);
    color: var(--text-color);
    max-width: 70%;
    margin: 0 auto;
    line-height: var(--line-height);
}

.join-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: var(--font-normal);
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-label {
    text-align: left;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: var(--font-size-sm);
    border: 1px solid var(--border-color);
    /*border-radius: var(-moz-bo);*/
    transition: border 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.btn-container .btn {
    flex: 1;
    padding: 10px;
    font-size: var(--font-size-lg);
}

.btn-primary:active {
    transform: translateY(0px);
}


/* Form fields Styling */

/* Fix Password Field Styling */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Ensure the input field has a proper border radius */
.input-group .form-control {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    padding-right: 45px; /* Space for the eye icon */
}

/* Position the eye icon inside the input field */
.input-group-append {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-radius: var(--border-radius);
}

/* Ensure the eye icon is properly aligned */
.input-group-append .input-group-text {
    background: transparent;
    border: none;
    border-radius: var(--border-radius) !important; /* Ensures consistency */
    padding: 10px;
    cursor: pointer;
}

/* Adjust eye icon size and color */
.input-group-append i {
    font-size: var(--font-size-lg);
    color: var(--text-color);
}

/* Ensure hover effect on icon */
.input-group-append:hover i {
    color: var(--primary-color);
}


/* Profile page styling */

.profile-content {
    max-width: 99vw;
    margin: 0 20px;
    width: 100%;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 0 28px -8px var(--border-color);
}

.profile-container {
    padding: 1px 0;
    background: var(--section-bg-light-grey);
}

.profile-layout {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap; /* Prevents wrapping of columns */
    margin: auto;
}

/* Sidebar Styling */
.profile-sidebar {
    background: var(--footer-bg);
    padding: 20px;
    text-align: center;
    position: relative;
    transition: width 0.3s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-sidebar.collapsed {
    width: 80px;
    min-width: 80px;
}

/* Hide menu text when collapsed */
.profile-sidebar.collapsed .menu-text {
    display: none;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: var(--font-size-sm);
    color: var(--white);
    cursor: pointer;
    z-index: 10;
}

.sidebar-toggle i {
    font-size: var(--font-size-sm);
}

/* Sidebar Menu */
.profile-menu {
    list-style: none; 
    padding: 0;
    margin-top: 50px;
}

.profile-menu li {
    margin: 10px 0;
}

/* Highlight the current page */
.profile-menu .active {
    background: var(--bs-black);
    border-radius: 0;
    border: 1px solid var(--border-color);
}

/* Ensure text and icon are visible */
.profile-menu .active .menu-item {
    color: var(--white);
    font-weight: var(--font-bold);
}

/* Prevent hover effects on the active item */
.profile-menu .active .menu-item:hover {
    background: var(--primary-color);
    cursor: default;
    border-radius: 0;
}

.profile-menu .menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px;
    border-radius: 5px;
    color: var(--white);
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: 0.3s ease-in-out;
    white-space: nowrap;
    position: relative;
}

.profile-menu .menu-item:hover {    
    background: var(--bs-black);
    border-radius: 0;
    border: 1px solid var(--border-color);
}

.menu-item i {
    font-size: var(--font-size-lg);
    margin-right: 15px;
    width: 24px; 
    text-align: center;
}

/* Collapse Behavior */
.profile-sidebar.collapsed .menu-text {
    display: none;
}

/* Ensure icons are properly aligned */
.profile-menu .menu-item i {
    font-size: var(--font-size-lg);
    text-align: center;
    width: 30px; /* Ensures uniform spacing */
}


/* Show text when hovering over menu item in collapsed mode */
.profile-sidebar.collapsed .menu-item:hover .menu-text,
.profile-sidebar.collapsed .active:hover .menu-text {
    display: block;
    position: absolute;
    bottom: 50px; /* Moves text above the icon */
    left: 50%;
    transform: translateX(-50%); /* Centers the text */
    background: var(--text-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 0px;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Adjust for proper hover behavior */
.profile-sidebar.collapsed .menu-item {
    position: relative;
}


.profile-sidebar.collapsed .menu-item i {
    margin-right: 0;
}

/* Prevent hover issues on active menu item */
.profile-sidebar.collapsed .active .menu-text {

    display: none;
    
    /* display: block;
    position: absolute;
    left: 90px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
    z-index: 1000; */
}

/* Hover Effect for Collapsed Menu */
.menu-item:hover .menu-text {
    display: inline-block;
}


/*.profile-sidebar.collapsed + .profile-content {*/
/*    width: calc(100% - 80px);*/
/*}*/


/* Right Column Styling */
/*.profile-content {*/
/*    flex-grow: 1;*/
/*    background: var(--white);*/
/*    padding: 20px;*/
/*    border-radius: 0;*/
/*    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);*/
/*}*/

.placeholder-text {
    font-size: var(--font-size-lg);
    color: var(--text-color);
}

/* Profile Image Styling */
.profile-img {
    width: 90px;
    height: 90px;
    border-radius: 50%; 
    object-fit: cover; 
    object-position: top;
    border: 3px solid var(--primary-color);
    transition: 0.3s ease-in-out;
}

/* Hover effect for profile image */
.profile-img:hover {
    opacity: 0.8;
}


/* Profile Form Heading */
.profile-heading {
    font-size: var(--h3-size);
    font-weight: var(--font-bold);
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Profile Form Inputs */
.profile-form .form-control {
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    line-height: var(--line-height);
    padding: var(--text-padding);
    border: 1px solid var(--border-color);
    transition: 0.3s ease-in-out;
}

.profile-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0px 0px 5px rgba(245, 124, 0, 0.3);
}

/* Required Field Indicator */
.required {
    color: var(--danger-color);
    font-weight: var(--font-bold);
    margin-left: 3px;
}

/* Submit Button */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    font-size: var(--font-size-nav);
    font-weight: var(--font-bold);
    padding: var(--btn-padding);
    border: none;
    border-radius: var(--border-radius) !important;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.btn-primary:hover {
    background: var(--secondary-color);
}


/*Other buttons */

.btn-info,
.btn-danger,
.btn-warning {
    border-radius: var(--border-radius);
}


/* Select2 Custom Styling */
.select2-container .select2-selection--single {
    height: 45px; /* Matches Bootstrap input height */
    border: 1px solid var(--border-radius);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    padding: 8px;
    transition: 0.3s ease-in-out;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-color);
    line-height: var(--line-height);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
    right: 10px;
}

/* Focus Effect */
.select2-container--default .select2-selection--single:focus {
    border-color: var(--primary-color);
    box-shadow: 0px 0px 5px rgba(245, 124, 0, 0.3);
}


/* Tabs Styling */

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: var(--btn-padding);

    /*font-family: var(--heading-font);*/
    /*font-size: var(--font-size-nav);*/
    /*font-weight: var(--font-bold);*/
    /*color: var(--text-color);*/
    /*background-color: var(--bs-gray-300);*/
    /*border-radius: var(--border-radius);*/
    border: 1px solid var(--primary-color);
    
    
    
}




/* Unique link styling */

button#saveLink {
    background-color: var(--primary-color);
    border: var(--primary-color);
}

.unique-link-container span.input-group-text {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

input#uniqueLink {
    border-radius: 0px;
}

input#uniqueLink {
    padding: 8px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.unique-link-container {
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-text {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    padding: 8px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-normal);
}

.form-control {
    flex: 1;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid var(--bs-gray);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-normal);
}

/*.btn {*/
/*    padding: var(--btn-padding);*/
/*    border-radius: var(--border-radius);*/
/*}*/

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}


.save-btn, .cancel-btn {
    padding: var(--btn-padding);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    border-radius: var(--border-radius);
    flex: 1; 
    max-width: 150px; 
}

/* Primary Button Styling */
.save-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Danger Button Styling */
.cancel-btn {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: var(--white);
}

/* Hover Effect for Save Button */
.save-btn:hover {
    background-color: var(--dark-primary-color);
    border-color: var(--dark-primary-color);
    color: var(--white);
}

/* Hover Effect for Cancel Button */
.cancel-btn:hover {
    background-color: var(--dark-danger-color);
    border-color: var(--dark-danger-color);
    color: var(--white);
}


#shareOptions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    transition: 0.3s ease-in-out;
}









/* Footer Section */
.footer {
    background: var(--footer-bg);
    padding: 50px 0 0;
    color: var(--white);
    text-align: center;
}

.footer .container {
    padding: 0 20px;
}

/* Left Section: Logo & Social Icons */
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-left img {
    max-width: 150px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--footer-bg);
    border-radius: 50%;
    font-size: var(--font-size-sm);
    transition: 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Right Section: Disclaimer */
.footer-right,
.footer-right p {
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: var(--font-thin);
    line-height: var(--line-height);
}


/* Footer Bottom Bar */
.footer-bottom {
    background: var(--footer-bar-bg);
    padding: 15px 0;
    text-align: center;
    margin-top: 30px;
}

.footer-bottom a {
    color: var(--white);
    opacity: 0.7;
    margin: 0 10px;
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.footer-bottom a:hover {
    opacity: 1;
}
.powered-by {
    opacity: 0.7;
    font-size: var(--font-size-nav);
    padding: 10px 0 0;
    font-weight: 400;
    border-top: 1px solid var(--border-color);
}



/* WORK PHP FILE STYLING  */


.modal {
    z-index: var(--bs-modal-zindex) !important;
}

.modal-title {
    color: var(--text-color);
}


.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto !important;
    padding: 10px !important;
    /*border: 1px solid #888;*/
    width: 100% !important;
}

.work-tab-content, 
.about-container, 
.photos-container, 
.video-upload-container, 
.unique-link-container {
    width: 100%;
    background: var(--white);
}


/* Experience Selection Styling */

.experience-selection {
    display: flex;
    justify-content: space-between; /* Left: Label & Dropdowns | Right: Button */
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

/* Experience Label & Dropdowns */
/* Experience Selection Row */
.experience-selection {
    display: flex;
    justify-content: space-between; /* Left: Dropdowns | Right: Button */
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

/* Experience Label & Dropdowns */
.experience-dropdowns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.experience-selection label {
    font-weight: var(--font-normal);
    margin-right: 10px;
}

.experience-selection small {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    display: block;
    margin-top: -3px;
}

/* Normal Dropdown Styling */
.experience-selection select {
    width: 120px !important; /* Set fixed width */
    padding: 6px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--white);
    color: var(--text-dark);
}

/* Add Experience Button */
.add-experience-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    transition: 0.3s;
}

.add-experience-btn:hover {
    background-color: var(--primary-dark);
    cursor: pointer;
}

#experienceYears, #experienceMonths {
    appearance: auto !important; /* Ensure normal dropdown behavior */
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
}

span.select2-selection.select2-selection--single {
/*    max-width: 150px;*/
    width: 100%;
    border: 1px solid var(--border-color) !important;
}


table.table.work-experience-table.table-bordered.table-responsive {
    font-size: var(--font-size-nav);
    font-weight: var(--font-normal);
}

/* Action Buttons - Align in One Row */
.action-buttons {
    display: flex;
    gap: 8px; /* Space between buttons */
}

/* Individual Button Styling */
.action-buttons button, 
.action-buttons a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: none;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

/* Button Colors */
/* Updated Button Background Colors */
.view-btn {
    background-color: var(--primary-color) !important;
    color: var(--white);
}

.edit-btn {
    background-color: var(--warning-color) !important;
    color: var(--white);
}




/* Button Hover Effects */

.edit-btn:hover, 
.view-btn:hover, 
.delete-btn:hover {
    background-color: var(--white) !important;
    color: var(--danger-dark) !important;
}

/* Styling for Video Tab  */


/* Video Table */
.video-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.video-table th {
    padding: 10px;
    text-align: left;
    font-weight: var(--font-normal);
    font-size: var(--font-size-nav);
}

.table-bordered>:not(caption)>* {
    border-width: 1px;
}

.video-table td {
    padding: 10px;
    border: 1px solid var(--border-color);
    text-align: left;
    background: var(--white);
}

/* Form Controls */
.video-table input, .video-table select {
    width: 100%;
    padding: 8px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
}

/* Button Styling */
#addVideoRow,
.btn-success,
button.btn.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    padding: var(--btn-padding);
    border-radius: var(--border-radius);
    margin-top: 15px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.button-group .btn {
    font-weight: var(--font-bold);
    padding: 8px 15px;
    border-radius: var(--border-radius);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
}

/* Action Buttons */
.video-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.video-actions .btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
}



/* Drag Handle */
.drag-handle {
    cursor: grab;
    font-size: var(--font-size-sm);
    color: var(--text-color);
}

.drag-handle:active {
    cursor: grabbing;
}


/* Switch to Video Link */
.toggle-upload {
    color: var(--primary-color);
    font-size: var(--font-size-nav);
    font-weight: var(--font-normal);
    display: block;
    margin-top: 5px;
}

.toggle-upload:hover {
    text-decoration: dotted;
}


/* Photos styling  */


.photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: 10px;
    margin-top: 20px;
    width: 100%; /* Ensure full width */
}

.photo-item {
    position: relative;
    max-width: 200px;
    max-height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: var(--border-radius);
}


.delete_grid_photo{
    right: 5px;
    z-index: 0;
    position: absolute;
    top: 5px;
    height: 30px;
    width: 30px;
    border-radius: 100px;
    background-color: red;
    color: white;
    border: none;
    font-weight: bold;
}

.delete-btn:hover {
    color: var(--danger-dark);
}

.spotlight-preview {
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    max-width: 250px;
    max-height: 300px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: var(--border-radius);
    display: block;
}

/* Updated Delete Button Styling for Spotlight Image */

button#deleteSpotlight.delete-btn,
button.delete_grid_photo.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    font-weight: bold;
    border: none;
    font-size: var(--font-size-nav);
    cursor: pointer;
    z-index: 10;
}


.spotlight-preview .delete_grid_photo:hover {
    background: var(--danger-dark);
}




@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for tablets */
    }
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for smaller screens */
    }
    
    .spotlight-preview {
        width: 75%;
        height: auto;
        border: none;
        margin-top: 15px;
    }

    .spotlight-preview img {
        width: 75%;
        height: auto;
        display: block;
    }
    
    button#deleteSpotlight.delete-btn {
        position: absolute;
        top: 5px;
        right: 45px;
        height: 30px;
        width: 30px;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    }
}









/* About Tab Styles */
.about-container {
    padding: 20px;
}

label {
    font-weight: var(--font-normal);
    margin-top: 10px;
}

select,
input,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-bg);
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 5px;
}

.d-flex.gap-2 select {
    width: auto;
}

.btn-secondary {
    max-width: 300px;
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
}

.delete-btn {
    background-color: var(--danger-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: none;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    
}


/* Save & Cancel Buttons */
.save-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.save-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.cancel-btn {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: var(--white);
}

/*Custom Navbar styling - Member portfolio page */

/* Custom Navbar Styles */
.custom-navbar {
    padding: 10px 0; /* Top and bottom padding */
    background-color: var(--footer-bg);
}

/* Custom Navigation Items */
.custom-nav-item {
    background-color: #000000;
    color: #ffffff;
    padding: var(--btn-padding);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    border-radius: var(--border-radius);
    width: 190px;
}
.scroll-nav .nav-link {
    background-color: #000000;
    color: #ffffff;
    padding: var(--btn-padding);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-align: center;
    border-radius: var(--border-radius);
    width: 190px;
}
/* Add Gap Between Nav Items */
.navbar-nav {
    gap: 15px; /* Space between menu items */
}

/* Hover & Active State */
.custom-nav-item:hover,
.nav-item.active .custom-nav-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slight hover effect */
    border-color: rgba(255, 255, 255, 0.6);
}

/* Full-width menu items in mobile */
@media (max-width: 768px) {
    .navbar-nav {
        gap: 10px; /* Reduce gap for mobile */
        width: 100%;
        padding: 20px 0;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link.custom-nav-item {
        width: 100%;
        text-align: left;
        display: block;
    }
}

.input-group-append{
    z-index: 9999;
}




/*latest changes*/

.select2-container--default .select2-selection--single .select2-selection__arrow{
    top:7px;
}
.modal-backdrop{background-color: transparent;}

input[type="radio"] {
    width: auto;
}
.unique-link-container input#unique_link, .unique-link-container .input-group-text {
    width: 100%;
}