/*
 Theme Name:     Catch Responsive Pro Child Theme
 Theme URI:      https://catchthemes.com/themes/catch-responsive-pro
 Description:    Catch Responsive Pro
 Author:         Catch Themes
 Author URI:     http://catchthemes.com/
 Template:       catch-responsive-pro
Version: 4.3
*/



 
@import url("../catch-responsive-pro/style.css");
/* @import url('https://fonts.googleapis.com/css2?family=B612:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,600;0,900;1,200;1,600&display=swap');

* {
    box-sizing: border-box;
  }
  
/*
    Purple: rgba(145, 35, 134, 1) / #912386
    Purple Hover: rgba(191, 122, 184, 1) / #bf7ab8
    blue: rgba(41, 80, 116, 1) / #295074
    Pink: rgba(191, 122, 184, 1) / #bf7ab8
*/

  * {
      box-sizing: border-box;
  }
  
div #eezyhash{
    max-width: 340px;
    width: 100%;
    margin: auto;
    padding: 0px;
    font-family: 'Dosis', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    color: rgba(41, 80, 116, 1);
    border: 0;
}

body{
    padding: 20px;
}
  
  

/*********** WORDPRESS CRAP ***********/
.no-sidebar.content-width #main{
    /* max-width: 340px; */

}

#content, #page{
    width: 100%;
}


div#content div.wrapper{
    padding: 10px;
    margin: 0;
}

#wpadminbar{
    /* display: none; */
}

#masthead{
    display: none;
}

/*********** WORDPRESS CRAP END ***********/


/*********** ELEMENTS ***********/

h1, h2, h3, h4, h5, h6{
    font-weight: 400!important;

}

section{
    margin-top: 10px;
}

h3, #section h3{
    font-size: 2em;
}


  
input, textarea{
    width: 100%;
    line-height: 1.25em;
}

textarea{
    padding: 5px;
    resize: vertical;
}

h3{
    width: 100%;
    text-align: left;
}


h3 img{
    width: 35px;
    vertical-align: text-bottom;
}

a {
    color: rgba(145, 35, 134, 1);
}


.checkbox{
    width: auto;
    margin-right: 5px;
}
/*********** ELEMENTS END ***********/



.main-btn, .main-btn li, .btn-half, .btn-slim, .section-display-icon, .pool-clear-icon, .list-display-icon, .autocomplete-items div, .hashtags-selection, #hashtags select{
    font-size: 1em;
}
  
section div{
  /* margin-bottom: 40px; */
}

/*********** HEADER ***********/
header{
    height: fit-content;
}

.logo{
    width: 200px;
    mix-blend-mode: multiply;

}

.logo-dark {
    display: none;
}

body.dark-mode .logo-light {
    display: none;
}

body.dark-mode .logo-dark {
    display: inline;
    mix-blend-mode: normal;
}

p#ver{
    margin: 0px 0px 0 10px;
    color: rgba(41, 80, 116, .5);
    font-size: 1em;
}


.dropbtn {
    color: rgba(41, 80, 116, 0.75);
    padding: 5px;
    font-size: 22px;
    border: none;
    cursor: pointer;
}
  
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    float: right;
    /* right: 30px; */
    top: 30px;
    width: 50px;
    height: auto;
    
}
  
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
    right: 0px;
    /* left: calc(25% + 10px); */
}
  
/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
  
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

.menu-dim{
    font-style: italic;
    color: dimgray;
}
.menu-last{
    border-top: #1d1d1d solid 1px;
    margin-top: 5px;
}
/* Change the background color of the dropdown button when the dropdown content is shown */
/* .dropdown:hover .dropbtn {background-color: #3e8e41;} */


/* CHATBOT */
span.bot-text a{
    color: #fff;
}

.breadcrums{
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgba(145, 35, 134, 1);
    /* background-color: rgba(191, 122, 184, .2); */
        background: linear-gradient(to right, rgba(191, 122, 184, .2), transparent);
}

/*********** HEADER END ***********/


/*********** TITLES ***********/

.main-titles{
    font-size: 1.75em;
}

.main-titles img:not(.btn-small){
    width: 25px;
}

.main-titles > i:not(.btn-small) {
    width: 25px;
    font-size: 18px;
    text-align: center;
    flex-shrink: 0;
    color: rgba(40, 60, 90, 0.7);
}

.second-titles{
    font-size: 1.25em;
}

#post-title-short{
    display: none;
}

/*********** TITLES END ***********/

/*********** BUTTONS ***********/

/* MAIN BTN */
.main-btn{
    display: none;
    margin: 25px 0;
    text-align: center;
}

.main-btn li :first-child{
    /* margin-left: 0; */
}

.main-btn li :last-child{
    /* margin-right: 0; */
}

.main-btn li{
    display: inline-block;
    width: 80px;
    height: 80px;
    vertical-align: middle;
    border: rgba(41, 80, 116, 1) 3px solid;
}

.main-btn li img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40px;
    height: auto;
    /* vertical-align: middle; */
}

.main-btn li p{
    display: inline-block;
    text-align: left;
    vertical-align: text-top;
}

/* MAIN BTN END */


.right-buttons{
    float: right;
}

.right-buttons img{
    display: block;
    margin-bottom: 10px;
}

.btn-small{
    display: inline-block;
    width: 45px;
    height: 45px;
    margin-left: 5px;
    border: #1d1d1d 1pt solid;
    border-radius: 20%;
}

.right-buttons .btn-small{
    width: 35px;
    height: 35px;
    margin-left: 0;
}

.btn-small:first-child{
    margin-left: 0;
}


.btn-small:hover{
    cursor: pointer;
}

.btn-small img{
    padding: 2px;
}

.btn-small i,
.btn-small-quick i {
    font-size: 18px;
    color: rgba(40, 60, 90, 0.75);
}

.right-buttons .btn-small i {
    font-size: 15px;
}

i.btn-small {
    font-size: 18px;
    color: rgba(40, 60, 90, 0.75);
}

.right-buttons i.btn-small {
    font-size: 15px;
}

i.toggle-icon {
    font-size: 16px;
    color: rgba(40, 60, 90, 0.6);
}

i.cancel-icon {
    font-size: 20px;
    cursor: pointer;
    color: rgba(40, 60, 90, 0.7);
}

i.clear-picto {
    font-size: 16px;
    cursor: pointer;
    color: rgba(40, 60, 90, 0.6);
}

.right-buttons i {
    display: block;
    margin-bottom: 10px;
}

.btn-spacer{
    /* margin-right: 10px; */
}

#sticky-buttons {
    display: flex;
    border-bottom: 2px solid rgba(41, 80, 116, 0.15);
    margin-bottom: 10px;
    padding: 0;
    list-style: none;
}

.btn-nav-tag {
    flex: 1;
    display: inline-block;
    padding: 8px 4px 9px;
    margin-left: 0;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9em;
    cursor: pointer;
    vertical-align: middle;
    margin-bottom: -2px;
    color: rgba(80, 80, 100, 0.7);
    background: none;
    transition: color 0.2s, border-bottom-color 0.2s;
    letter-spacing: 0.02em;
    text-align: center;
}

.btn-nav-tag:hover {
    color: rgba(41, 80, 116, 1);
    border-bottom-color: rgba(41, 80, 116, 0.3);
}

#sticky-buttons .btn-nav-tag.sel1,
#sticky-buttons li.sel1.btn-nav-tag {
    background-color: transparent;
    color: rgba(41, 80, 116, 1);
    border-bottom: 3px solid rgba(41, 80, 116, 1);
}

.btn-nav-tag:first-child {
    margin-left: 0;
}

#hashtag-action-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 8px 0 0;
}

.hashtags-quick-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hashtags-quick-row input {
    flex: 1;
    min-width: 0;
}

.btn-small-quick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: #1d1d1d 1pt solid;
    border-radius: 20%;
    cursor: pointer;
}

.btn-small-quick img {
    width: 100%;
    padding: 3px;
}

.hashtags-post-handle ul{
    margin-bottom: 10px;
    text-align: center;
}

.hashtags-post-handle ul li.btn-small :first-child{
    margin-left: 0;
}

.disabled{
    opacity: 50%;
}

.disabled:hover{
    cursor: default;
}


/* MODAL */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 10000;
  }
  
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    text-align: center;
    position: relative;
  }
  
  /* Cancel icon (top-right corner) */
  .cancel-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;   /* Adjust size as needed */
    height: 24px;
    cursor: pointer;
    opacity: 0.7;  /* Slight transparency for discreetness */
  }
  
  .cancel-icon:hover {
    opacity: 1;    /* Full opacity on hover */
  }
/*********** BUTTONS END ***********/


/*********** CREDITS ***********/

.credit-hidden-infos img.credit-profile{
    width: 100px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    border-radius: 50%;
    display: block;
}

#credit-div textarea{
    margin-bottom: 10px;

}

#credit-div textarea:last-child{
    margin-bottom: 0px;

}

.credit-infos-icons{
    margin-bottom: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;

}

.credit-infos-icons img{
    margin-right: 20px;

}

.credit-infos-icons img:last-child{
    margin-right: 0px;

}

.select-drop, .select-drop:focus{
    margin-right: 20px;
    font-size: 1.5em;
    vertical-align: m;
}


textarea.credit-name{
    visibility: visible;
    width: 88%;
    height: 30px;
    vertical-align: text-top;
}

.credit-hidden-infos{
    display: none;
}

.credit-info-ok-cancel{
    display: none;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
}

.credit-info-ok-btn,
.credit-info-cancel-btn{
    padding: 5px 14px;
    border-radius: 4px;
    border: 1px solid #1d1d1d;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
}

.credit-info-ok-btn{
    background: #1d1d1d;
    color: #fff;
}

.credit-info-ok-btn:hover{
    background: #444;
}

.credit-info-cancel-btn{
    background: #fff;
    color: #1d1d1d;
}

.credit-info-cancel-btn:hover{
    background: #f0f0f0;
}

body.dark-mode .credit-info-ok-btn{
    background: #ddd;
    color: #1d1d1d;
    border-color: #ddd;
}

body.dark-mode .credit-info-ok-btn:hover{
    background: #bbb;
}

body.dark-mode .credit-info-cancel-btn{
    background: transparent;
    color: #ddd;
    border-color: #ddd;
}

body.dark-mode .credit-info-cancel-btn:hover{
    background: rgba(255,255,255,0.1);
}

/* #credit-div textarea.with-button{
    width: 275px;
} */




.credits-container{
    font-size: 1em;
    color: gray;
    height: fit-content;
}

.credits-container li{
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    /* margin-left: auto;
    margin-right: auto; */
    width: 100%;
    height: 36px;
    padding: 0 10px 10px 10px;
    overflow: hidden;
    /* margin-bottom: 20px; */

    border: #912386 1px solid;
    border-radius: 5px;
    /* background-color: rgba(191, 122, 184, .1); */
    background: linear-gradient(to bottom, rgba(191, 122, 184, .1), transparent);
    box-shadow: inset 0 0 2px 2px rgba(0, 0, 0, 0.1);

}

.credits-container li :first-child{
    /* margin-top: 20px; */

}

.credit-spacing{
    width: 100%;
    display: flex;
    justify-content: space-evenly; /* Distributes space evenly between and around items */
    align-items: center; /* Vertically centers the items */
    margin-top: 20px;
    margin-bottom: 20px;
  }


.credit-titles h3{
    display: inline-block;
    width: fit-content;
    margin-right: 20px;
}

.credit-titles img{
    display: inline-block;
    width: 35px;
    vertical-align: text-top;
}


.credits-container img{
    width: 35px;
    height: auto;
    /* border-radius: 50%; */
    /* margin-top: auto;
    margin-bottom: auto; */
    vertical-align: middle;
}

.credit-titles img{
    border-radius: 0;

}

.credit-icons-frame{
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.credit-icons{
    width: 50px;
    margin-right: 10px;
    border-radius: 50%;
}

.credit-icons img{
    border-radius: 50%;

}

.textarea-with-button{
    width: 365px;
    resize: none;
}

.toggle-credit{
    width: 30px;
    height: auto;
    border-radius: 50%;
    vertical-align: text-top;
}

.credits-container img.icon-border{
    border: #912386 3px solid;
}

.credits-container img:hover{
    cursor: pointer;
}

.credit-note{
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    color: rgba(145, 35, 134, 1);
}

/*********** CREDIT END ***********/


/*********** POOLS ***********/
.pool-divs{
    display: flex;
    flex: 100%;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;

    margin-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 10px;
    background-color: rgba(255, 255, 255, .5);
}
  

.pool-titles{ 
    width: 80%;
    text-align: center;
}

.pool-titles h3{ 
    display: inline-block;
    /* padding-top: 10px; */
    width: fit-content;
    text-align: center;
    margin-left: 10px;
    margin-bottom: 0;
}

.pool-titles img{ 
    width: 30px;
    height: auto;
    vertical-align: bottom;
}

.toggle-icon{
    width: 35px;
}

.clear-picto{
    width: 30px;
    background-blend-mode: multiply;
}
  




/*********** POOLS END ***********/

/*********** SETTINGS ***********/

#hashtags-presets div{
    text-align: center;
}

#hashtags-presets img{
    opacity: 50%;
    width: 75px;
    height: 75px;
    border-radius: 10px;
    margin-right: 10px;
}

#hashtags-presets img:last-child{
    margin-right: 0px;
}

#hashtags-presets img.sel1{
    opacity: 100%;
    border: rgba(255, 140, 25, 1) 3px solid;
}



#hashtags-socials-settings{
    margin-top: 20px;
}

.title-wrapper{
    display: block;
}

.social-settings-wrapper{
    display: none;
}

#hashtags-socials-settings h3{
    margin-top: 20px;
    display: inline-block;
    width: fit-content;
    vertical-align: text-bottom;
}

div.options-divs{
    margin: 5px;
    display: block;
}

.setting-check{
    width: 35px;
    height: 35px;
    vertical-align: middle;
    /* display: inline-block; */
    margin-right: 5px;
    border: none;
}

.options-divs input{
    width: 50px;
    height: 25px;
    text-align: center;
    margin-right: 5px;
    border-radius: 10%;
}

.options-label{
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

.settings-desc{
    /* display: block; */
    margin-top: -3px;
    font-size: 85%;
    font-style: italic;
}

/*********** SETTINGS END ***********/


.with-button{
    max-width: 285px;
}


#credit-results{
    margin-bottom: 40px;
}

#credit-results div{
    margin-bottom: 0;
}

.float-right{
    float: right;
}

.edit-title{
    display: none;
    width: 245px;
    margin-top: 10px;
    margin-left: 18px;
    background-color: rgba(191, 122, 184, 1);
    color: #fff;
    border: #295074 solid 1pt;
    /* border-radius: 5%; */
    position: relative;
    z-index: 1; /* Place it above Instagram content */
    box-shadow:  5px 5px 5px rgba(0, 0, 0, .3);
    /* height: fit-content; */
}






#section{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: fit-content;
    margin-bottom: 50px;
}

#section h3{
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 5px;
    font-size: 2em;
    font-weight: 400;
    text-align: center;
}
  
/* .section-display h3 img{
    width: 35px;
    vertical-align: middle;
} */
  
  
  
/* SECTION */
.div-section{ 
    display: flex;
    flex: 100%;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}
  
/* SECTION END */

#credit-edit{
    display: none;
    background-color: white;
    position: fixed;
    top: 250px;
    width: 90%;
    margin: 0 2%;
    box-shadow:  5px 5px 5px rgba(0, 0, 0, .3);
}

#credit-edit-img{
    margin: 15px;
    vertical-align: middle;
    width: 35px;
    height: auto;
    border-radius: 50%;
}

#credit-edit-input{
    vertical-align: middle;
    margin-right: 10px;
    width: 75%;
}

#credit-edit-validate{
    margin: 0px;
    margin-top: 15px;
    vertical-align: top;
    width: 35px;
}

.autocomplete {
    display: block;
    
}

.autocomplete input{
    vertical-align: top;
}

.autocomplete-items {
    max-height: 400px; /* Set the maximum height to enable scrolling */
    overflow-y: auto; /* Allow vertical scrolling when content overflows */
    background-color: rgba(255, 255, 255, .85);

}
.autocomplete-items div {
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: rgba(41, 80, 116, .5) solid 1px;
    font-size: 1em;
  
}

.autocomplete-items div:hover {
    cursor: pointer;
    background-color: rgba(41, 80, 116, 1);
    color: #fff;
}

.pointer-cursor:hover{
    cursor: pointer;
}
  
  
  
  
.btn{
    margin: 10px;
    vertical-align: middle;
    padding: 5px;
    background-color: #fff;
    border: rgba(41, 80, 116, 1) 1px solid;
    border-radius: 10px;
    text-align: center;
}

.btn:hover{
    cursor: pointer;
}


/* SETTINGS */
.btn-sq{
    width: 125px;
    height: 125px;
    padding: 0px;
}

.btn-half{
    width: 50px;
    height: 50px;
    padding: 8px;
}

.btn-slim{
    width: 150px;
    height: 65px;
}

li.btn-slim img{
    vertical-align: middle;
    margin-right: 5px;
}

#settings-options .btn-slim, #settings-languages .btn-slim{
    /* padding-top: 17px;
    font-size: 1.25em; */
} 

#settings-socials-max input{
    display:inline-block;
    width: 50px;
    margin-left: 20px;
}
  
.settings-socials-max input :first-child{
    margin-left: 0;
}

.shrink-text{
    display: inline-block;
}

div.shrink{
    z-index: 1;
}

div.shrink li{
    width: 60px;
}

div.shrink p{
    display: none;
} 

  
/* --- SEL --- */

.sel1 img, .sel2 img{
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

#settings-socials .sel1 img{
    -webkit-filter: none;
    filter: none;
}

.sel1, .sel2{
    /* background-color: rgba(41, 80, 116, 1); */
    color: white;
}

ul li.sel1, .sel1 {
    background-color: rgba(255, 140, 25, 1);
    color: white;
}

ul li.sel2, .sel2 {
    background-color: rgba(0, 204, 0, 1);
    color: white;
}

ul li.sel1:active, .sel1:active, ul li.sel2:active, .sel2:active {
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0);

}

.list-sel1{
    color: rgba(255, 140, 25, 1);
}

.list-sel2{
    color: rgba(0, 204, 0, 1);
}


/* SEL END */


#myProgress {
    width: 100%;
    background-color: #ddd;
}

#myBar {
    width: 1%;
    height: 30px;
    background-color: #295074;
}


  

.clear-input{
    float: right;
    opacity: 50%;
    position: relative;
    top: 75px;
    right: -10px;
    margin: 20px;
}

.clear-input:hover{
    cursor: pointer;
    opacity: 100%;
}

.float-left{
    float: left;
}

.tooltip {
    position: relative;
    display: inline-block;
/*  border-bottom: 1px dotted black;*/
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: rgba(45, 49, 149, .9);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: fixed;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1.75em;
}

.tooltip .tooltiptext:after {
    content: "";
    position: fixed;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(45, 49, 149, 1) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
    


#the-pools h3{

}

/* .section-display{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    border-top: black 1px solid;
} */

.section-display-icon, .pool-clear-icon, .list-display-icon{
    float: left;
    margin-top: -30px;
    margin-left: 20px;
    padding: 5px;
}

.section-display-icon:hover, .pool-clear-icon:hover, .list-display-icon:hover{
    cursor: pointer;
    opacity: .7;
}

.material-icons {
    vertical-align: middle;
    display: inline;
    font-size: 37px;
}

.list-display-icon{
    margin-top: -5px;
    margin-left: 0px;
}

i.pool-clear-icon{
    margin-right: 20px;
    float: right;
}

.list-split{
    display: block;
    height: 5px;

}

.credit-icons:last-child{
    margin-right: 0px;

}

.social-icons{
    display: block;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    border: white solid 2px;
}

/* TITLES CONTAINER */

.social-titles img{
    width: 35px;
    height: auto;
    border-radius: 50%;
}

.social-titles h3{
    display: inline;
    margin-left: 10px;
    vertical-align: top;
}

/* TITLES CONTAINER END */

  
/* SETTINGS USER */
#user-image{
    width: 100px;
    height: 100px;
    border: rgba(41, 80, 116, 1) 1px solid;
    border-radius: 5px;
    float: left;
    margin-right: 20px;
}

#settings-user form{
    margin-left: 60px;
}

.hashtags-post-handle{
    width: 100%;
    /* margin-bottom: 20px; */
}

span.social-info{
    margin-top: 0;
    text-align: center;
    font-weight: 200;
    font-size: .5em;


}

ul{
    list-style-type: none;
    padding-left: 0;
}

ul.div-section{
    padding-top: 20px;
    padding-bottom: 0;
    margin-bottom: 0;
}

ul#add-hashtags-ul{
    padding-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
}

div#sticky-section{
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
    height: fit-content;
    
    padding: 10px;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 5px;
    background-color: #fff;
    /* background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 0) 100%); */
    border-bottom: #912386 2px solid;
}

div#sticky-section.shrink .btn-slim{
    width: 140px;
}

/*HIDDEN STICKY BUTTONS */

div#sticky-section.shrink li#add-hashtags-social, div#sticky-section.shrink li#to-top-sticky{
    display: inline-block;
}

#hashtags-input{
    margin-bottom: 10px;
}

#check-count{
    margin-top: -10px;
    margin-bottom: -15px;
    font-size: .75em;
    text-align: center;
}


.hashtags-selection{
    display: inline-block;
    margin: 5px;
    padding: 5px;
    height: fit-content;
    border: rgba(41, 80, 116, .5) 1px solid;
    border-radius: 5px;
    color: rgba(41, 80, 116, 1);

}

.pool-tab{
    display: inline-block;
    margin: 5px;
    padding: 5px;
    width: fit-content;
    height: fit-content;
    border: rgba(41, 80, 116, .5) 3px solid;
    border-radius: 5px;
    text-align: center;
}

.tab-container{
    display: none;
    /* width: 0; */
    margin: 5px;
    padding: 5px;
    height: fit-content;
    /* border: rgba(41, 80, 116, .5) 3px solid;
    border-radius: 5px; */
    /* transition: all 0.3s ease; */
}

.hashtags-selection:hover{
    cursor: pointer;
}

#add-hashtags-sugg{
    display: none;
    position: absolute;
    z-index: 9999;
    width: 100%;
    max-height: 600px;
    overflow-y: scroll;
    background-color: rgba(255, 255, 255, .95);
    border-radius: 10px;
    border: #295074 solid 2px;
    padding: 10px;
    margin-left: -10px;
}

li.credit-suggest{
    display: inline-block;
    margin: 5px;
    width: fit-content;
    height: fit-content;
    /* font-size: .7em; */
    padding: 5px;
    border: rgba(255, 255, 255, 0.5) 1px solid;
    background-color: rgba(41, 80, 116, 1);
    color: rgba(255, 255, 255, 1);
    text-align: center;
}

#add-hashtags-sugg ul{
    padding: 0;
    padding-top: 25px;
}

#add-hashtags-sugg img{
    position: absolute;
    right: 0;
    top: 0;
    width: 25px;
    z-index: 2;
}

#the-list{
    display: none;
    position: absolute;
    z-index: 9999;
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, .95);
    border-radius: 10px;
    border: #295074 solid 2px;
    padding: 10px;
    overflow-y:scroll;
    margin-left: -10px;
}

.two-column-list {
    columns: 2; /* Create two columns */
    column-gap: 5px; /* Add space between columns */
    padding: 0; /* Remove default padding */
    list-style-type: none; /* Remove default list styles */
}

.two-column-list li {
margin-bottom: 0px; /* Add margin between list items */
word-wrap: break-word;
}

.banned{
    color: darkred;
}

.unsafe{
    color: darkorange;
}

.filtered{
    color: darkgray;
}

#the-list.full-height,
#add-hashtags-sugg.full-height {
    max-height: none;
}

.filtered-lists{
    display: none;
    margin-top: 20px;
}

.filtered-lists li{
    /* margin-left: 20px; */
}

#add-hashtags-sugg li.suggest{
    /* font-size: .8em;
    font-style: italic;
    border: rgba(41, 80, 116, .5) 1px solid;
    width: fit-content;
    background-color: rgba(255, 255, 255, 1);
    text-align: center; */
}

ul.credit-sugg{
    text-align: center;
}


#socials-hashtags-lists div{
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 10px;
    padding: 10px;
}

#socials-hashtags-lists h4{
    font-weight: 600 ;
    font-size: 0.6em;
    margin-top: 10px;
    margin-bottom: 10px;
}

#social ul{
    margin-top: 0;
    padding: 5px;
    background-color: #fff;
    column-count: 2;
}

#social li{
    flex: 40%;
    margin: 0 20px 5px 0;
}

.display-none{
    display: none;
}

.db-on{
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(9,121,17,1) 90%);
}


.red-text{
    color: red;
    font-weight: 600;
}
.orange-text{
    color: orange;
    font-weight: 600;
}

.green-text{
    color: green;
    /* font-weight: bold; */
}

.split-section{
    margin-bottom: 30px;
}


textarea.results{
    visibility: hidden;
    width: 90%;
    height: 60px;
    position: fixed;
    top: 200px;
    left: 45px;
    /* font-size: 2em; */
}

#hashtags select{
    margin-left: 15px;
    vertical-align: bottom;
}

.icon-off{
    opacity: 50%;
}

.icon-on{
    opacity: 100%;
}

div#pro-message-display{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    height: fit-content;
    padding: 30px;
    background: white;
    border:rgba(191, 122, 184, 1) 1px solid;
    border-radius: 10px;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0);
    /* background: radial-gradient(circle, rgba(255,255,255,1) 50%, rgba(191, 122, 184, 1) 100%); */
    /* background: radial-gradient(circle, rgba(255,255,255,1) 50%, rgba(171,141,63,1) 100%); */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 50%, rgba(191, 122, 184, 1) 100%);

    transform: translate(-50%, -50%);
}

div#pro-message-display img.eezy-icon{
    display: block;
    width: 100px;
    height: auto;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}


div#pro-message-display h2{
    text-align: center;
    font-size: 1.8em;
    font-weight: 600;
    color: white;
    background-color: rgba(191, 122, 184, 1);
    padding: 5px;
    border-radius: 5px;
    /* margin-bottom: 40px; */
}

div#pro-message-display h3{
    font-size: 1.3em;
    font-weight: 600;
}

div#pro-message-display p{
    font-size: 1em;
}

#pro-message-yes, #pro-message-clear{
    display: block;
}

#pro-message-go{
    height: auto;
}

#pro-message-clear{
    width: 90px;
    height: 30px;
    padding-top: 3px;
    font-size: .8em;
    background-color: rgba(255, 255, 255, 1);
}

/*TOOLTIP*/
.sugg-div{
}


.sugg-ul{
    background:#c6b4c2;
    color: rgba(41, 80, 116, .5);
    padding:7px;
    border-radius:5px;
    position:absolute;
    /* min-width:50px;
    max-width:300px; */
    width: 400px;
    display:none;
    text-align: center;
}

.sugg-ul:before{
    content:'';
    height:3px;
    width:0;
    border:7px solid transparent;
    border-bottom-color:#1d1d1d;
    position:absolute;
    top:-16px;
    left:50%;
}

/*NAV BAR */
.profile-nav-bar{
    width: 80%;
    text-align: center;
    margin: 20px auto !important;
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* display: flex; */
}

.profile-nav-bar a, .profile-nav-bar li{
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
}

.profile-nav-bar a{
    text-align: center;
    vertical-align: middle;
    border: rgba(145, 35, 134, 1) 1px solid;
    border-radius: 5px;
    text-decoration: none;
}

.profile-nav-bar li:first-child{
    margin-left: 0px;
}

.profile-nav-bar li:last-child{
    margin-right: 0px;
}

.profile-nav-bar a:hover{
    background-color: rgba(145, 35, 134, 1);
    color: #fff;
}


/* USER LIST */

#users-vips{
    border: rgba(145, 35, 134, 1) 2px solid;
    border-radius: 5px;

    margin-bottom: 40px;
    padding-bottom: 0px;
}

#users-container, #users-vips{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    height: fit-content; 
    width: 100%;
    padding: 20px;

}

.users-icon{
    width: 30%;
    max-width: 125px;
    height: 250px;
    display: inline-block;
    border: rgba(41, 80, 116, 1) 2px solid;
    border-radius: 5px;
    padding: 5px;
    margin-right: 20px;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    word-wrap: break-word; 
}


.users-icon h2{
    font-size: 1.2em;
}

.users-list li{
    display: inline;
    /* margin-right: 10px; */
}

.users-list li:not(:last-child)::after {
    content: ", "; 
}

#user-container{
    /* display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    height: fit-content;  */
    width: 100%;
    padding: 20px;
    text-align: center;
}

.profile-occupation, .profile-tags, .longhashtag{
    /* font-size: smaller; */
}

.profile-tags{
    color: #295074;
}

.profile_headshot{
    display: block;
    max-width: 200px;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.profile-social-icons{
    width: 35px;
    height: auto;
    border-radius: 50%;
}

/*ADS*/
.ads{
    /* display: block; */

    border-top: #295074 1pt solid;
    border-bottom: #295074 1pt solid;
    margin-top: 20px;
    margin-bottom: 20px;

}

.ads img{
    width: 100%;
    height: auto;
}

.ads-disclaimer{
    font-size: .9em;
    font-style: italic;
    color: #295074;
    text-align: right;
    margin-bottom: 0;
}



@media only screen and (min-width: 540px){ 
    body, button, input, select, textarea{
        font-size: 14px;
    }
}

@media only screen and (min-width: 390px){ 
    #content, #page{
        width: 100%;
    }
    
    
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select:focus, textarea:focus, input:focus, input#s, #respond form input[type="text"], #respond form textarea, input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea {
        font-size: inherit;
    }
}


@media only screen and (-webkit-min-device-pixel-ratio: 3),
                    only screen and (min--moz-device-pixel-ratio: 3),
                    only screen and (-o-min-device-pixel-ratio: 3/1),
                    only screen and (min-device-pixel-ratio: 3)
{  /* Your Styles here */ }


/* ===== DARK MODE ===== */
body.dark-mode {
    background-color: #1a1b2e;
    color: #ffffff;
}

body.dark-mode #eezyhash {
    color: #ffffff;
}

body.dark-mode #content,
body.dark-mode #page {
    background-color: #1a1b2e;
}

body.dark-mode h3,
body.dark-mode .main-titles {
    color: #ffffff;
}

body.dark-mode a {
    color: #ffffff;
}

body.dark-mode p,
body.dark-mode p#ver {
    color: rgba(255, 255, 255, .6);
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: #2e3048;
    color: #ffffff;
    border-color: rgba(255, 255, 255, .12);
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: rgba(255, 255, 255, .35);
}

body.dark-mode div#sticky-section {
    background-color: #1a1b2e;
    border-bottom-color: rgba(255, 255, 255, .12);
}

body.dark-mode .pool-divs {
    background-color: rgba(255, 255, 255, .05);
    border-top-color: rgba(255, 255, 255, .12);
}

body.dark-mode .autocomplete-items {
    background-color: #252638;
}

body.dark-mode .autocomplete-items div {
    border-bottom-color: rgba(255, 255, 255, .1);
    color: #ffffff;
}

body.dark-mode .autocomplete-items div:hover {
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
}

body.dark-mode #the-list {
    background-color: #1a1b2e;
    border-color: rgba(255, 255, 255, .12);
    color: #ffffff;
}

body.dark-mode #add-hashtags-sugg {
    background-color: #1a1b2e;
    border-color: rgba(255, 255, 255, .12);
}

body.dark-mode .btn-small {
    border-color: rgba(255, 255, 255, .2);
}

body.dark-mode #sticky-buttons {
    border-bottom-color: rgba(255, 255, 255, .1);
}

body.dark-mode .btn-nav-tag {
    border-bottom-color: transparent;
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .btn-nav-tag:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, .4);
}

body.dark-mode #sticky-buttons .btn-nav-tag.sel1,
body.dark-mode #sticky-buttons li.sel1.btn-nav-tag {
    background-color: transparent;
    color: #ffffff;
    border-bottom-color: #ffffff;
}

body.dark-mode .btn-small-quick {
    border-color: rgba(255, 255, 255, .2);
}

body.dark-mode .btn-small-quick img {
    filter: invert(1);
}

body.dark-mode .btn-small img,
body.dark-mode h3 img,
body.dark-mode .main-titles img,
body.dark-mode .right-buttons img,
body.dark-mode .pool-titles img,
body.dark-mode img.toggle-icon,
body.dark-mode img.clear-picto,
body.dark-mode #menu img {
    filter: invert(1);
}

body.dark-mode .btn-small i,
body.dark-mode i.btn-small,
body.dark-mode .btn-small-quick i,
body.dark-mode h3 i,
body.dark-mode .main-titles i,
body.dark-mode .right-buttons i,
body.dark-mode .pool-titles i,
body.dark-mode i.toggle-icon,
body.dark-mode i.clear-picto,
body.dark-mode i.cancel-icon,
body.dark-mode i#menu {
    color: rgba(255, 255, 255, 0.88);
}

body.dark-mode #triangle {
    border-top-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

body.dark-mode .credits-container li {
    border-color: rgba(255, 255, 255, .12);
    background: linear-gradient(to bottom, rgba(255, 255, 255, .05), transparent);
}

body.dark-mode .credits-container img {
    filter: none;
}

body.dark-mode .btn {
    background-color: #252638;
    border-color: rgba(255, 255, 255, .2);
    color: #ffffff;
}

body.dark-mode .dropdown-content {
    background-color: #252638;
}

body.dark-mode .dropdown-content a {
    color: #ffffff;
}

body.dark-mode .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, .1);
}

body.dark-mode .modal-content {
    background-color: #252638;
    border-color: rgba(255, 255, 255, .12);
    color: #ffffff;
}

body.dark-mode #pro-message-display {
    background: linear-gradient(to bottom, #252638 50%, rgba(255, 255, 255, .15) 100%);
    border-color: rgba(255, 255, 255, .12);
}

body.dark-mode .hashtags-selection {
    border-color: rgba(255, 255, 255, .12);
    color: #ffffff;
}

body.dark-mode .pool-tab {
    border-color: rgba(255, 255, 255, .12);
}

body.dark-mode li.credit-suggest {
    background-color: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
}

#btn-theme-toggle {
    transition: opacity 0.2s;
}

#socials-empty-msg {
    display: none;
    text-align: center;
    color: #aaa;
    font-style: italic;
    margin: 40px 0;
    font-size: 0.95em;
}

body.dark-mode #socials-empty-msg {
    color: rgba(191, 122, 184, 0.5);
}

/* --- IMAGEFIT --- */

#imagefit-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
}

#imagefit-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(41, 80, 116, 1);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: background 0.2s;
}

#imagefit-upload-label:hover {
    background: rgba(41, 80, 116, 0.8);
}

#imagefit-fileInput {
    display: none !important;
    width: auto !important;
    margin: 0 !important;
}

#imagefit-frame {
    position: relative;
    width: min(320px, 100%);
    aspect-ratio: 4 / 5;
    background-color: #c8c8c8;
    background-image:
        linear-gradient(45deg, #b4b4b4 25%, transparent 25%),
        linear-gradient(-45deg, #b4b4b4 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #b4b4b4 75%),
        linear-gradient(-45deg, transparent 75%, #b4b4b4 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    overflow: hidden;
    border-radius: 6px;
    border: 1.5px solid rgba(41, 80, 116, 0.2);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

#imagefit-frame.imagefit-dragging {
    cursor: grabbing;
}

#imagefit-bg {
    display: none;
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

#imagefit-bg.imagefit-bg-blur {
    inset: -12%;
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    opacity: 0.5;
}

#imagefit-bg.imagefit-bg-color {
    inset: 0;
    filter: none;
    opacity: 1;
}

#imagefit-img {
    position: absolute;
    display: none;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
}

#imagefit-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(41, 80, 116, 0.45);
    font-size: 0.85em;
    pointer-events: none;
    z-index: 2;
}

#imagefit-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.imagefit-ctrl-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-right: 8px;
    border-right: 1.5px solid rgba(41, 80, 116, 0.15);
}

.imagefit-ctrl-group:last-of-type {
    border-right: none;
    padding-right: 0;
}

.imagefit-zoom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 1.35em;
    line-height: 1;
    border: 1.5px solid rgba(41, 80, 116, 0.3);
    border-radius: 7px;
    background: #fff;
    color: rgba(41, 80, 116, 1);
    cursor: pointer;
    transition: background 0.15s;
    padding: 0;
}

.imagefit-zoom-btn:hover {
    background: rgba(41, 80, 116, 0.08);
}

#imagefit-scale-label {
    font-size: 0.82em;
    min-width: 42px;
    text-align: center;
    color: rgba(41, 80, 116, 0.6);
}

.imagefit-fit-btn {
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    height: 34px;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1.5px solid rgba(41, 80, 116, 0.3);
    border-radius: 7px;
    background: #fff;
    color: rgba(41, 80, 116, 1);
    cursor: pointer;
    transition: background 0.15s;
}

.imagefit-fit-btn:hover {
    background: rgba(41, 80, 116, 0.08);
}

#imagefit-save-btn {
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    height: 34px;
    font-size: 0.9em;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    background: rgba(41, 80, 116, 1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 4px;
}

#imagefit-save-btn:hover {
    background: rgba(41, 80, 116, 0.82);
}

#imagefit-fill-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid rgba(41, 80, 116, 0.1);
    padding-top: 12px;
    width: min(320px, 100%);
}

.imagefit-fill-label {
    font-size: 0.8em;
    font-weight: 600;
    color: rgba(41, 80, 116, 0.55);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#imagefit-fill-options {
    display: inline-flex;
    border: 1.5px solid rgba(41, 80, 116, 0.25);
    border-radius: 7px;
    overflow: hidden;
}

.imagefit-fill-btn {
    padding: 5px 12px;
    font-size: 0.8em;
    font-weight: 600;
    border: none;
    border-right: 1px solid rgba(41, 80, 116, 0.2);
    background: #fff;
    color: rgba(41, 80, 116, 0.6);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.imagefit-fill-btn:last-child {
    border-right: none;
}

.imagefit-fill-btn:hover {
    background: rgba(41, 80, 116, 0.06);
    color: rgba(41, 80, 116, 1);
}

.imagefit-fill-btn.active {
    background: rgba(41, 80, 116, 1);
    color: #fff;
}

#imagefit-color-picker {
    display: none;
    width: 34px !important;
    height: 34px !important;
    padding: 2px !important;
    border: 1.5px solid rgba(41, 80, 116, 0.3) !important;
    border-radius: 7px;
    cursor: pointer;
    background: none;
    margin: 0 !important;
}

/* Dark mode */

body.dark-mode #imagefit-frame {
    background-color: #1a3a52;
    background-image:
        linear-gradient(45deg, #153448 25%, transparent 25%),
        linear-gradient(-45deg, #153448 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #153448 75%),
        linear-gradient(-45deg, transparent 75%, #153448 75%);
    border-color: rgba(191, 122, 184, 0.25);
}

body.dark-mode #imagefit-hint {
    color: rgba(191, 122, 184, 0.45);
}

body.dark-mode #imagefit-upload-label {
    background: rgba(191, 122, 184, 1);
}

body.dark-mode #imagefit-upload-label:hover {
    background: rgba(191, 122, 184, 0.8);
}

body.dark-mode .imagefit-ctrl-group {
    border-right-color: rgba(191, 122, 184, 0.2);
}

body.dark-mode .imagefit-zoom-btn,
body.dark-mode .imagefit-fit-btn {
    background: #2a4a68;
    border-color: rgba(191, 122, 184, 0.35);
    color: rgba(191, 122, 184, 1);
}

body.dark-mode .imagefit-zoom-btn:hover,
body.dark-mode .imagefit-fit-btn:hover {
    background: rgba(191, 122, 184, 0.15);
}

body.dark-mode #imagefit-scale-label {
    color: rgba(191, 122, 184, 0.6);
}

body.dark-mode #imagefit-save-btn {
    background: rgba(191, 122, 184, 1);
}

body.dark-mode #imagefit-save-btn:hover {
    background: rgba(191, 122, 184, 0.8);
}

body.dark-mode #imagefit-fill-row {
    border-top-color: rgba(191, 122, 184, 0.15);
}

body.dark-mode .imagefit-fill-label {
    color: rgba(191, 122, 184, 0.5);
}

body.dark-mode #imagefit-fill-options {
    border-color: rgba(191, 122, 184, 0.3);
}

body.dark-mode .imagefit-fill-btn {
    background: #2a4a68;
    border-right-color: rgba(191, 122, 184, 0.2);
    color: rgba(191, 122, 184, 0.55);
}

body.dark-mode .imagefit-fill-btn:hover {
    background: rgba(191, 122, 184, 0.12);
    color: rgba(191, 122, 184, 1);
}

body.dark-mode .imagefit-fill-btn.active {
    background: rgba(191, 122, 184, 1);
    color: #fff;
}

body.dark-mode #imagefit-color-picker {
    border-color: rgba(191, 122, 184, 0.35) !important;
}


/* ===== PROFILES TAB ===== */

#profiles-search-div {
    padding: 8px 0 4px;
}

#profiles-search {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid rgba(41, 80, 116, 0.35);
    border-radius: 4px;
    font-size: 0.85em;
    color: rgba(41, 80, 116, 1);
    background: white;
    outline: none;
    font-family: inherit;
}

#profiles-search:focus {
    border-color: rgba(41, 80, 116, 0.8);
}

.profiles-alpha-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    padding: 8px 0;
}

.profiles-alpha-btn {
    cursor: pointer;
    padding: 5px 7px;
    border-radius: 3px;
    font-size: 0.78em;
    font-weight: 700;
    color: rgba(41, 80, 116, 1);
    border: 1px solid rgba(41, 80, 116, 0.3);
    user-select: none;
    line-height: 1;
    background: none;
}

.profiles-alpha-btn.sel1 {
    background-color: rgba(255, 140, 25, 1);
    color: white;
    border-color: rgba(255, 140, 25, 1);
}

.profiles-alpha-btn:hover:not(.sel1) {
    background-color: rgba(41, 80, 116, 0.1);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    padding: 2px 0 12px;
    box-sizing: border-box;
}

.profile-card {
    position: relative;
    height: 105px;
    overflow: hidden;
    border: 1px solid rgba(41, 80, 116, 0.25);
    border-radius: 6px;
    cursor: pointer;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px 4px;
    text-align: center;
    box-sizing: border-box;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.profile-card:hover {
    box-shadow: 0 2px 8px rgba(41, 80, 116, 0.2);
    border-color: rgba(41, 80, 116, 0.5);
}

.profile-card.expanded {
    height: auto;
    overflow: visible;
}

.profile-card-photo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
}

.profile-card-name {
    font-size: 0.65em;
    font-weight: bold;
    margin: 5px 0 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    color: rgba(41, 80, 116, 1);
    padding: 0 16px 0 2px;
    box-sizing: border-box;
}

.profile-card-details {
    display: none;
    font-size: 0.65em;
    color: rgba(41, 80, 116, 0.75);
    margin-top: 4px;
    width: 100%;
    text-align: left;
}

.profile-card-details p {
    margin: 2px 0;
    line-height: 1.3;
}

.profile-card.expanded .profile-card-details {
    display: block;
}

.profile-card-add-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: rgba(41, 80, 116, 1);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card-add-btn:hover {
    background: rgba(255, 140, 25, 1);
}

/* dark mode */
body.dark-mode #profiles-search {
    background: #2a2a2a;
    color: rgba(191, 122, 184, 0.9);
    border-color: rgba(191, 122, 184, 0.35);
}

body.dark-mode .profiles-alpha-btn {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(191, 122, 184, 0.25);
}

body.dark-mode .profiles-alpha-btn.sel1 {
    background-color: rgba(191, 122, 184, 1);
    color: white;
    border-color: rgba(191, 122, 184, 1);
}

body.dark-mode .profiles-alpha-btn:hover:not(.sel1) {
    background-color: rgba(191, 122, 184, 0.1);
}

body.dark-mode .profile-card {
    background: #2a2a2a;
    border-color: rgba(191, 122, 184, 0.2);
}

body.dark-mode .profile-card:hover {
    border-color: rgba(191, 122, 184, 0.5);
}

body.dark-mode .profile-card-name {
    color: rgba(191, 122, 184, 0.9);
}

body.dark-mode .profile-card-details {
    color: rgba(191, 122, 184, 0.65);
}

body.dark-mode .profile-card-add-btn {
    background: rgba(191, 122, 184, 0.7);
}

body.dark-mode .profile-card-add-btn:hover {
    background: rgba(191, 122, 184, 1);
}

/* ===== DARK MODE END ===== */

/* ===== PROFILE OVERLAY ===== */
#profile-overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    cursor: pointer;
}

#profile-overlay-card {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    /* left + width set by JS to match the grid */
    background: #fff;
    border-radius: 10px;
    padding: 28px 16px 20px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    box-shadow: 0 6px 28px rgba(41, 80, 116, 0.3);
    border: 1px solid rgba(41, 80, 116, 0.15);
}

.profile-overlay-close {
    position: absolute;
    top: 8px; right: 10px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: rgba(41, 80, 116, 0.6);
    padding: 0;
}

.profile-overlay-close:hover {
    color: rgba(255, 140, 25, 1);
}

.profile-overlay-photo {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(41, 80, 116, 0.15);
}

.profile-overlay-name {
    font-size: 1.05em;
    font-weight: bold;
    color: rgba(41, 80, 116, 1);
    margin: 0;
    text-align: center;
}

.profile-overlay-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-overlay-label {
    font-size: 0.65em;
    font-weight: 700;
    color: rgba(41, 80, 116, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.profile-overlay-value {
    font-size: 0.85em;
    color: rgba(41, 80, 116, 0.9);
    word-break: break-word;
}

.profile-overlay-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 2px;
}

.profile-overlay-link {
    font-size: 0.8em;
    color: rgba(41, 80, 116, 1);
    text-decoration: none;
    word-break: break-all;
}

.profile-overlay-link:hover {
    color: rgba(255, 140, 25, 1);
    text-decoration: underline;
}

.profile-overlay-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.profile-overlay-add-btn {
    padding: 9px 22px;
    background: rgba(41, 80, 116, 1);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.88em;
    cursor: pointer;
    font-weight: 600;
}

.profile-overlay-add-btn:hover {
    background: rgba(255, 140, 25, 1);
}

.profile-overlay-open-btn {
    padding: 9px 22px;
    background: transparent;
    color: rgba(41, 80, 116, 1);
    border: 1.5px solid rgba(41, 80, 116, 0.4);
    border-radius: 5px;
    font-size: 0.88em;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.profile-overlay-open-btn:hover {
    background: rgba(41, 80, 116, 0.07);
    border-color: rgba(41, 80, 116, 0.8);
    color: rgba(41, 80, 116, 1);
}

body.dark-mode .profile-overlay-open-btn {
    color: rgba(191, 122, 184, 0.9);
    border-color: rgba(191, 122, 184, 0.35);
}

body.dark-mode .profile-overlay-open-btn:hover {
    background: rgba(191, 122, 184, 0.1);
    border-color: rgba(191, 122, 184, 0.7);
    color: rgba(191, 122, 184, 1);
}

body.dark-mode #profile-overlay-card {
    background: #222;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 6px 28px rgba(0,0,0,0.55);
}

body.dark-mode .profile-overlay-name {
    color: #ddd;
}

body.dark-mode .profile-overlay-label {
    color: rgba(200,200,200,0.45);
}

body.dark-mode .profile-overlay-value {
    color: rgba(220,220,220,0.9);
}

body.dark-mode .profile-overlay-link {
    color: #aac4e0;
}

body.dark-mode .profile-overlay-close {
    color: rgba(200,200,200,0.6);
}

/* PAGE LOADER */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.4s ease;
}

body.dark-mode #page-loader {
    background: #1a1b2e;
}

#page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

#page-loader .loader-logo {
    width: 200px;
    mix-blend-mode: multiply;
}

.loader-logo-dark {
    display: none;
}

body.dark-mode #page-loader .loader-logo-light {
    display: none;
}

body.dark-mode #page-loader .loader-logo-dark {
    display: block;
    mix-blend-mode: normal;
}

#page-loader .loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(41, 80, 116, 0.15);
    border-top-color: rgba(41, 80, 116, 1);
    border-radius: 50%;
    animation: loader-spin 0.8s linear infinite;
}

body.dark-mode #page-loader .loader-spinner {
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 1);
}

@keyframes loader-spin {
    to { transform: rotate(360deg); }
}
/* ===== PROFILE OVERLAY END ===== */


/* ===== iOS AESTHETIC ===== */

html, body, input, textarea, button, select {
    font-family: -apple-system, BlinkMacSystemFont, 'Dosis', 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Inputs — rounded, minimal */
input:not([type="file"]):not([type="color"]):not([type="checkbox"]):not([type="radio"]),
textarea {
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    background: rgba(118, 118, 128, 0.07);
    margin-left: 0;
    margin-right: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
}

input:not([type="file"]):not([type="color"]):not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus {
    border-color: rgba(41, 80, 116, 0.5);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 80, 116, 0.1);
}

body.dark-mode input:not([type="file"]):not([type="color"]):not([type="checkbox"]):not([type="radio"]),
body.dark-mode textarea {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode input:not([type="file"]):not([type="color"]):not([type="checkbox"]):not([type="radio"]):focus,
body.dark-mode textarea:focus {
    border-color: rgba(191, 122, 184, 0.6);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(191, 122, 184, 0.12);
}

body.dark-mode #credit-input {
    color: #ffffff;
}

body.dark-mode .credit-note {
    color: #ffffff;
}

body.dark-mode img.btn-small {
    filter: invert(1);
}

body.dark-mode i.btn-small {
    color: rgba(255, 255, 255, 0.88);
}

/* Full-width inputs by default */
.with-button {
    max-width: 100%;
    width: 100%;
}

/* Leave room for the 3 stacked .right-buttons float (~36px wide + gap) */
#post-title-div .with-button,
#credit-div .with-button,
[id^="social-element-"] .with-button {
    width: calc(100% - 46px);
    max-width: calc(100% - 46px);
}

/* Non-pro teaser social logos */
.social-icon-pro-teaser {
    opacity: 0.25;
    filter: grayscale(100%);
    cursor: pointer;
    transition: opacity 0.15s;
}
.social-icon-pro-teaser:hover {
    opacity: 0.45;
}

/* Sticky header — frosted glass */
div#sticky-section {
    border-bottom: none;
    border-radius: 0 0 22px 22px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    backdrop-filter: saturate(180%) blur(22px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
    padding: 10px 14px 16px;
    top: 0;
    margin-top: 0;
}

body.dark-mode div#sticky-section {
    background: rgba(22, 42, 60, 0.88);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border-bottom: none;
}

/* Nav tabs — iOS segmented control */
#sticky-buttons {
    background: rgba(118, 118, 128, 0.13);
    border-radius: 10px;
    padding: 3px;
    border-bottom: none;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

body.dark-mode #sticky-buttons {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: none;
}

.btn-nav-tag {
    border-radius: 8px;
    border-bottom: none !important;
    padding: 7px 2px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    margin-bottom: 0;
    color: rgba(41, 80, 116, 0.6);
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-nav-tag:hover {
    border-bottom: none !important;
    background: rgba(255, 255, 255, 0.45);
    color: rgba(41, 80, 116, 0.9);
}

#sticky-buttons .btn-nav-tag.sel1,
#sticky-buttons li.sel1.btn-nav-tag {
    background: #fff;
    color: rgba(41, 80, 116, 1);
    border-bottom: none !important;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.13), 0 1px 2px rgba(0, 0, 0, 0.07);
}

body.dark-mode .btn-nav-tag {
    color: rgba(255, 255, 255, 0.5);
    border-bottom: none !important;
}

body.dark-mode .btn-nav-tag:hover {
    border-bottom: none !important;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(191, 122, 184, 0.9);
}

body.dark-mode #sticky-buttons .btn-nav-tag.sel1,
body.dark-mode #sticky-buttons li.sel1.btn-nav-tag {
    background: rgba(191, 122, 184, 1);
    color: rgba(255, 255, 255, 1);
    border-bottom: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Small action buttons */
.btn-small {
    border-radius: 11px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

.btn-small:active {
    transform: scale(0.92);
    opacity: 0.8;
}

.btn-small img {
    padding: 8px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.btn-small i,
i.btn-small {
    font-size: 18px;
    color: rgba(40, 60, 90, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.right-buttons .btn-small {
    width: 36px;
    height: 36px;
}

.right-buttons .btn-small i {
    font-size: 15px;
}

.right-buttons i.btn-small {
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

body.dark-mode .btn-small {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

body.dark-mode .btn-small i,
body.dark-mode i.btn-small,
body.dark-mode .btn-small-quick i {
    color: rgba(255, 255, 255, 0.88);
}

.btn-small-quick {
    border-radius: 11px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.1s ease, opacity 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-small-quick:active {
    transform: scale(0.92);
    opacity: 0.8;
}

body.dark-mode .btn-small-quick {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

/* Content card sections */
.split-section {
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.04);
}

body.dark-mode .split-section {
    background: rgba(40, 70, 100, 0.45);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Section titles — remove hard border, keep clean */
h3.main-titles {
    border-top: none;
    padding-top: 0;
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1.35em;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

h3.main-titles > i:not(.btn-small) {
    font-size: 18px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
    color: rgba(40, 60, 90, 0.6);
}

body.dark-mode h3.main-titles > i:not(.btn-small) {
    color: rgba(255, 255, 255, 0.75);
}

/* Hashtag pills */
.hashtags-selection {
    border-radius: 20px;
    border: 1.5px solid rgba(41, 80, 116, 0.22);
    padding: 6px 12px;
    margin: 4px;
    font-size: 0.9em;
    font-weight: 600;
    transition: transform 0.1s ease, background 0.15s ease;
    background: rgba(255, 255, 255, 0.9);
}

.hashtags-selection:active {
    transform: scale(0.95);
}

body.dark-mode .hashtags-selection {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(191, 122, 184, 0.25);
}

ul li.sel1.hashtags-selection {
    border-color: rgba(255, 140, 25, 0.45);
}

ul li.sel2.hashtags-selection {
    border-color: rgba(0, 204, 0, 0.45);
}

/* Pool tab pills */
.pool-tab {
    border-radius: 20px;
    border: 1.5px solid rgba(41, 80, 116, 0.2);
    transition: transform 0.1s ease;
}

.pool-tab:active {
    transform: scale(0.95);
}

body.dark-mode .pool-tab {
    border-color: rgba(191, 122, 184, 0.25);
}

/* Pool groups — card style */
.pool-divs {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    background: rgba(118, 118, 128, 0.04);
    padding: 12px;
    margin-top: 12px;
}

body.dark-mode .pool-divs {
    background: rgba(255, 255, 255, 0.025);
    border-top-color: rgba(255, 255, 255, 0.07);
}

/* Autocomplete dropdown */
.autocomplete-items {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: 4px;
}

.autocomplete-items div {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 11px 14px;
    margin: 0;
    font-size: 0.95em;
    transition: background 0.12s ease;
}

.autocomplete-items div:last-child {
    border-bottom: none;
}

.autocomplete-items div:hover {
    background-color: rgba(41, 80, 116, 0.07);
    color: rgba(41, 80, 116, 1);
}

body.dark-mode .autocomplete-items {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .autocomplete-items div {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .autocomplete-items div:hover {
    background-color: rgba(191, 122, 184, 0.18);
    color: rgba(191, 122, 184, 1);
}

/* Hashtag list overlay */
#the-list {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
    padding: 16px;
}

body.dark-mode #the-list {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Control bar pinned at top of #the-list */
.the-list-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    position: sticky;
    top: -16px;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 8px 0;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(41, 80, 116, 0.15);
    z-index: 1;
}

body.dark-mode .the-list-controls {
    background-color: #1e3a52;
    border-bottom-color: rgba(191, 122, 184, 0.25);
}

/* Pool deselect-all button (used in pool headers and #the-list) */
.pool-clear-btn {
    background: none;
    border: 1px solid rgba(41, 80, 116, 0.35);
    border-radius: 5px;
    color: rgba(41, 80, 116, 0.7);
    cursor: pointer;
    font-size: 0.75em;
    padding: 3px 9px;
    line-height: 1.4;
}

.pool-clear-btn:hover {
    background-color: rgba(41, 80, 116, 0.08);
    color: rgba(41, 80, 116, 1);
}

body.dark-mode .pool-clear-btn {
    border-color: rgba(191, 122, 184, 0.45);
    color: rgba(191, 122, 184, 0.8);
}

body.dark-mode .pool-clear-btn:hover {
    background-color: rgba(191, 122, 184, 0.12);
    color: rgba(191, 122, 184, 1);
}

/* X close button inside #the-list */
.the-list-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: rgba(41, 80, 116, 0.6);
    padding: 0 4px;
    line-height: 1;
}

.the-list-close-btn:hover {
    color: rgba(41, 80, 116, 1);
}

body.dark-mode .the-list-close-btn {
    color: rgba(191, 122, 184, 0.7);
}

body.dark-mode .the-list-close-btn:hover {
    color: rgba(191, 122, 184, 1);
}

/* Suggestion overlay */
#add-hashtags-sugg {
    border-radius: 20px;
    border: none;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.13);
}

body.dark-mode #add-hashtags-sugg {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

/* Credits list items */
.credits-container li {
    border-radius: 14px;
    border: 1px solid rgba(145, 35, 134, 0.12);
    box-shadow: 0 1px 6px rgba(145, 35, 134, 0.06);
    height: auto;
    min-height: 36px;
    overflow: hidden;
}

/* Profile cards */
.profile-card {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.profile-card:hover {
    box-shadow: 0 4px 16px rgba(41, 80, 116, 0.13);
    border-color: rgba(41, 80, 116, 0.22);
}

body.dark-mode .profile-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Profile detail overlay */
#profile-overlay-card {
    border-radius: 24px;
    border: none;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.18);
}

body.dark-mode #profile-overlay-card {
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6);
}

/* Modal */
.modal-content {
    border-radius: 22px;
    border: none;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.18);
}

/* Pro message */
div#pro-message-display {
    border-radius: 24px;
    border: none;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

/* General .btn */
.btn {
    border-radius: 12px;
    border: 1.5px solid rgba(41, 80, 116, 0.22);
    transition: transform 0.1s ease, opacity 0.1s ease;
}

.btn:active {
    transform: scale(0.96);
    opacity: 0.85;
}

/* Section display separators */
.section-display {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark-mode .section-display {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* ImageFit buttons */
.imagefit-zoom-btn,
.imagefit-fit-btn {
    border-radius: 10px;
    transition: transform 0.1s ease, background 0.15s ease;
}

.imagefit-zoom-btn:active,
.imagefit-fit-btn:active {
    transform: scale(0.93);
}

#imagefit-save-btn {
    border-radius: 12px;
    transition: transform 0.1s ease, background 0.2s ease;
}

#imagefit-save-btn:active {
    transform: scale(0.95);
}

#imagefit-upload-label {
    border-radius: 12px;
    padding: 10px 22px;
    transition: transform 0.1s ease, background 0.2s ease;
}

#imagefit-upload-label:active {
    transform: scale(0.96);
}

#imagefit-frame {
    border-radius: 16px;
}

/* Hashtag input row */
#hashtag-action-row {
    gap: 8px;
    justify-content: flex-start;
    padding-top: 8px;
}

/* Quick hashtag row */
.hashtags-quick-row {
    gap: 8px;
}

/* Page loader */
#page-loader {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

/* ===== iOS AESTHETIC END ===== */

/* ===== MOBILE FIXES ===== */

@media screen and (max-width: 400px) {
    body {
        padding: 10px;
    }

    /* Reduce sticky section horizontal padding so tabs have more room */
    div#sticky-section {
        padding: 8px 8px 14px;
    }

    /* Shrink tab font slightly on very small phones so all 5 fit */
    .btn-nav-tag {
        font-size: 0.72em;
        padding: 7px 1px;
    }

    /* Hashtag action buttons — ensure they stay in a row */
    #hashtag-action-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 6px;
    }

    /* Profiles: always 3 columns */
    .profiles-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* ImageFit controls: tighten up on small screens */
    #imagefit-controls {
        gap: 4px;
    }

    .imagefit-ctrl-group {
        gap: 2px;
        padding-right: 4px;
    }

    .imagefit-zoom-btn,
    .imagefit-fit-btn {
        width: 30px;
        height: 30px;
        font-size: 1.1em;
    }

    #imagefit-save-btn {
        padding: 0 12px;
        height: 30px;
    }

    #imagefit-fill-row {
        gap: 6px;
    }
}