/* Colors */
:root {
    --color-primary: #1f2937; /* Gray-800 */
    --color-secondary: #374151; /* Gray-700 */
    --color-accent: #111827; /* Gray-900 */
    --color-muted: #6b7280; /* Gray-500 */
    --color-light: #f9fafb; /* Gray-50 */
    --color-danger: #ef4444; /* Red-500 */
}

/* Typography */
div#author-kit-edit-author-profile {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-primary);
    background-color: var(--color-light);
}

/* Heading Sizes */
h1 {
    font-size: 2.25rem; /* 36px */
    line-height: 2.5rem; /* 40px */
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.875rem; /* 30px */
    line-height: 2.25rem; /* 36px */
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem; /* 24px */
    line-height: 2rem; /* 32px */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.75rem; /* 28px */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.125rem; /* 18px */
    line-height: 1.5rem; /* 24px */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem; /* 16px */
    line-height: 1.5rem; /* 24px */
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

/* Paragraph and Text */
p {
    font-size: 1rem; /* 16px */
    line-height: 1.75rem; /* 28px */
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

small {
    font-size: 0.875rem; /* 14px */
    line-height: 1.25rem; /* 20px */
    color: var(--color-muted);
}



#author-kit-page-template #author-kit-link-to-author-profiles a {
    display: inline-block; /* Ensures proper alignment for inline elements */
    align-items: center; /* Doesn't apply to <a> unless it's a flex container */
    justify-content: center; /* Same as above */
    text-decoration: none; /* Removes underline */
    outline: none; /* Removes browser focus outline */
    border: none; /* Removes any border if applied */
    margin-top: 28px;
    max-width: fit-content;
    color: #7e7e7e; /* Gray color */
    font-style: italic;
    outline: 2px solid white;
}
#author-kit-page-template #author-kit-link-to-author-profiles a:hover,
#author-kit-page-template #author-kit-link-to-author-profiles a:focus,
#author-kit-page-template #author-kit-link-to-author-profiles a:active {
    text-decoration: none; /* Ensures underline is not added in these states */
    outline: none; /* Removes focus/active outlines */
    border: none; /* Ensures no border is shown */
    outline: 2px solid white;
}

a:focus-visible {
    outline: none; /* Removes outline only for non-keyboard interactions */
}

#author-kit-page-template {
    display: flex;
    flex-direction: row;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    height: 100%;
    min-height: 500px;
    max-height: 100%;
    overflow-x: hidden;
    padding-bottom: 300px;
    padding-left: 0px;
    margin-left: 0px;
   box-sizing: border-box;
 
 



    
}

.wp-admin select{
    height: 40px;
    padding: 10px 20px;
    
}

aside  h4#edit-author-heading{
    padding: 0.75rem 1rem;
}

#author-kit-page-template {
    display: flex; /* Enables layout with aside and main sections side by side */
    flex-direction: row;

}
#author-kit-author-details{
 margin-bottom: 25px;   
}
aside {
    display: block;
    background-color: white;
    padding: 1rem;
    border-right: 1px solid rgb(216, 216, 216);
    height: 100%;
    width: 185px;
    position: fixed;
    z-index: 1;
    top: 0;
}



#author-kit-uploader-container {
    display: flex;
    flex-direction: row;
    height: 80px;
    margin-bottom: 20px;
  
    align-items: center; /* Centers items vertically */
    justify-content: center; /* Centers items horizontally */
}


#author-kit-uploader-container #remove-photo-option {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the items vertically */
    width: 100%;
    height: 100%;
    gap: 6px;

    padding: 0px 15px;
    z-index: 99;
 }
 #author-kit-uploader-container #remove-photo-option > #upload-image-label{
    color: rgb(57, 57, 58);
    font-weight: 500;  
   }
 #author-kit-uploader-container #remove-photo-option > #remove-photo-label{
  color: rgb(214, 51, 51);
  font-weight: 500;  
  cursor: pointer;
 }
  #author-kit-profile-avatar{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eeeeee;
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box;
    object-fit: contain;
    

  } 
 
  #author-kit-profile-avatar > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    align-items: middle;
    vertical-align: middle;

  }
  .tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #ffffff; /* Adjust as per your theme */
    font-size: 14px;
}


.tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 100;
    bottom: 125%; /* Adjust based on layout */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
 


aside .sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #484d53;
    cursor: pointer;
    margin-bottom: 0.5rem;
    border-radius: 0.45rem;
    transition: background-color 0.3s;
    font-weight: 600;
}
aside .sidebar-link > i {
margin-right: 10px; 
font-size: 16px; 
}


aside .sidebar-link:hover  {
    background-color: #fcfcfc; /* Light gray */
    color: #1f2937; /* Darker text */
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

aside .sidebar-link.active{
    background-color: rgb(242, 242, 255); /* Slightly darker gray */
    color: #111827; /* Even darker text */

}

main {
    width: 100%;
    margin-left: 220px;
    height: 100%;
    padding-bottom: 300px;
    background-color: #ffffff;
    padding-left: 20px;
}
main > #details{
 width: 400px;

}
.content-section {
    display: none;
   
   
}

.content-section:first-child {
    display: block;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
   
}

label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.content-section > form  select{
    width: 100%;
    padding: 0.1rem 0.5rem;
    max-height: 40px;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 0.89rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.content-section > form > input,#custom-url  {

    width: 100%;
    padding: 0.5rem;
    max-height: 40px;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 0.89rem;
    text-align: left;
    vertical-align: middle;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
    outline: none;
}

textarea {
    resize: none;
    max-width: 100%;
    font-size: inherit;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 0.89rem;
    text-align: left;
    vertical-align: middle;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#link-options label {
    display: block;
    margin-bottom: 0.5rem;
}

#custom-url {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    display: none; /* Hidden by default */
}

.author-kit-update-button {
    padding: 0.75rem 1.5rem;
    background-color: #2563eb;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: 170px;
    margin-top: 25px;
}

.author-kit-update-button:hover {
    background-color: #1d4ed8;
}

#author-kit-inlk-to-author-profiles >a{
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none; /* Remove outline */ 
}

a:focus, a:active {
 outline-width: 0px;
 outline-color: none;
}


a.breadcrumb-button {
    display: flex;
    display: inline-block;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline */
    outline: none;
    border: none;
    margin-top: 28px;
    max-width: fit-content;
    color: #7e7e7e;
    font-style: italic;
    outline: none; /* Removes focus outline */
 
}

a.breadcrumb-button:hover {
    color: #1d4ed8;
}

a.breadcrumb-button:focus,
a.breadcrumb-button:active {
    outline: none; /* Removes the default outline when focused or active */
    text-decoration: none; /* Ensure no underline appears */
}

.breadcrumb-button i {
    margin-right: 0.5rem;

}

div.error {
    background: #fff;
    border: 1px solid ghostwhite;
    border-left: 4px solid red;
    margin: 10px 0px;
    padding: 4px 12px;
    border-radius: 4px;
    font-style: italic;
}

.error-message {
    color: rgb(66, 66, 66);
    display: none;
    background: #fff;
    border: 1px solid ghostwhite;
    border-left: 4px solid red;
    margin: 10px 0px;
    padding: 4px 12px;
    border-radius: 4px;
    font-style: italic;
    font-weight: 500;
}

button.button-primary {
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
}

button.button-primary:hover {
    background-color: #1e40af;
}

#remove-avatar {
    background-color: #ef4444;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

#remove-avatar:hover {
    background-color: #b91c1c;
}



  /**social profile **/
  #social {
    width: 100%;
    box-sizing: border-box;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start; /* Align items to the left */
    justify-content: flex-start; /* Optional: Top alignment */
}
  /** this resets the wp admin padding left and bottom issue **/
  .auto-fold #wpcontent{
    padding-left: 0px;     
}
.author-kit-container form{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  
    max-width: 100%;
    margin-bottom: 15px;
    box-sizing: border-box;
    margin: 0px !important;
    padding: 0px 90px 0px 0px;
   
}

#author-kit-social-profile-heading{
    margin-bottom: 25px;
}

.author-kit-social-card {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 8px;
    background-color: ghostwhite;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.author-kit-social-card:hover {
    transform: scale(1..05);
    cursor: pointer;
}
.author-kit-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #fff;
    margin-right: 15px;
}
.author-kit-icon > i{
   font-size: 20px; 
}

.author-kit-icon > i.fa-snapchat{
   color: black;
   background-color: white;
   display: block;
   border-radius: 50%;

 }
 
 
.author-kit-social-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-right: 15px;
}

.author-kit-social-card  input[type="url"]{
    flex: 1;
    border-color: rgb(255, 255, 255) ;
    font-size: 12px;
}

.social-platform-select-notice {
    margin: 23px 0px;
    color: #4c5057;
    
} 
