/* Global Styles */
body {
    margin: 0;
    background-color: #1e1e1e;
    color: #f5f5f5;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
  }
  
  /* Page Container */
  .page-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
    background-image: url(/assets/brushed-85cee41582cadb45920c36a94056fc7e44b237ff243f05d53dd5468124561672.png), linear-gradient(#26384f, #26384f);
    background-blend-mode: multiply;
    color: #f6f9fd;
  }
  
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.header-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to the left */
}
  
.header-left button {
    margin-right: 10px;
}

.welcome-message {
    font-family: "good-times-bad-times", sans-serif;
    font-weight: 400;
    order: 1; /* Make sure this comes first in flex ordering */
}

header h1 {
    order: 2; /* Ensure the title comes after the welcome message */
    font-size: 2rem;
    color: #f5f5f5;
    font-family: "good-times-bad-times", sans-serif;
    font-weight: 400;
    margin-top: 0; /* Removes gap above h1 */
}
  
  /* Content Layout */
  .content {
    display: flex;
    flex: 1;
    overflow: hidden;
  }
  
  /* New Quote Form */
  .new-quote-form {
    flex: 3;
    width: 30%;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow-y: auto;
    background: linear-gradient(to bottom, #498cb5, #3d7597, #315e7d, #264d66, #1b3a4e);
    padding: 1rem;
    border-radius: 8px;
    scrollbar-width: none;
  }
  
  .new-quote-form::-webkit-scrollbar {
    display: none;
  }
  
  .new-quote-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f6f9fd;
    text-align: center;
  }
  
  .new-quote-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .new-quote-form div {
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .new-quote-form label {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
  }
  
  .new-quote-form input[type="text"],
  .new-quote-form textarea,
  .new-quote-form select {
    width: 100%;
    padding: 10px;
    background-color: #264d66;
    border: 1px solid #1b3a4e;
    color: #fff;
    border-radius: 8px;
    resize: none;
  }
  
  .new-quote-form textarea:focus,
  .new-quote-form input[type="text"]:focus,
  .new-quote-form select:focus {
    background-color: #315e7d;
    outline: none;
  }
  
  .new-quote-form textarea {
    overflow: hidden;
    font-family: "black-beard", sans-serif;
    font-size: 1.3em;
    height: auto;
    min-height: 100px;
  }
  
  .new-quote-form select {
    appearance: none;
    background-color: #264d66;
    border: 1px solid #1b3a4e;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10"><path fill="%23fff" d="M7 10L0 0h14z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px;
    font-family: "good-times-bad-times", sans-serif;
  }
  
  .new-quote-form .checkbox-group {
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: center;
  }
  
  .new-quote-form .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #498cb5;
    transform: scale(1.2);
  }
  
  .new-quote-form .checkbox-group label {
    margin-bottom: 0;
  }
  
  .new-quote-form input[type="submit"] {
    padding: 10px 20px;
    background-color: #1b3a4e;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    width: auto;
    margin: 0 auto;
  }
  
  .new-quote-form input[type="submit"]:hover {
    background-color: #264d66;
  }
  
  /* Quotes Container */
  .quotes-container {
    flex: 4;
    width: 40%;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow-y: auto;
    background-image: linear-gradient(to bottom, #efad66, #cd767d, #a56d80, #645d7d, #4a5d79), url(/assets/handmade_paper-f8906d614fb85a4c76cab2fbccd8d605f55045494593dd99d342e051a7a52292.png);
    background-blend-mode: multiply;
    padding: 1rem;
    border-radius: 8px;
    scrollbar-width: none;
  }
  
  .quotes-container::-webkit-scrollbar {
    display: none;
  }
  
  /* Quotes List */
  .quotes-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  /* Quote Item */
  .quote-item {
    background-color: rgba(0, 0, 0, 0.5);
    color: #f6f9fd;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    cursor: pointer;
    border-radius: 6px;
    font-family: "chainprinter", sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 400;
  }
  
  .quote-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .quote-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-left: 4px solid #efad66;
  }
  
  /* Quote Details */
  .quote-details {
    font-size: 0.85rem;
    color: #d9d9d9;
    margin-top: 0.5rem;
    display: none;
    font-family: "chandler-42-regular", sans-serif;
  }
  
  .quote-item.active .quote-details {
    display: block;
  }
  
  /* Right Tabs Container */
  .right-tabs {
    flex: 3;
    width: 30%;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    overflow: hidden;
  }
  
  .right-tabs.hidden {
    display: none;
  }
  
  .content.left-panel-hidden .new-quote-form {
    display: none;
  }
  
  .content.left-panel-hidden .quotes-container {
    flex: 7;
  }
  
  /* Tabs Navigation */
  .tabs {
    display: flex;
    margin-bottom: 0;
    /* border-bottom: 1px solid #1b3a4e; */
  }
  
  .tab-button {
    flex: 1;
    padding: 0.5rem;
    background-color: #498cb5;
    color: #fff;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 8px 8px 0 0;
    margin: 0;
  }
  
  .tab-button:not(:last-child) {
    margin-right: 2px;
  }
  
  .tab-button.active {
    background-color: #1b3a4e;
  }
  
  .tab-button:hover {
    background-color: #3d7597;
  }
  
  .tab-button:focus {
    outline: none;
  }
  
  /* Right Panel */
  .right-panel {
    flex: 1;
    overflow-y: auto;
    background: linear-gradient(to bottom, #498cb5, #3d7597, #315e7d, #264d66, #1b3a4e);
    padding: 1rem;
    border-radius: 0px 0px 8px 8px;
    scrollbar-width: none;
  }
  
  .right-panel::-webkit-scrollbar {
    display: none;
  }
  
  /* Tab Content */
  .tab-content {
    display: none;
    flex: 1;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    overflow-y: auto;
  }
  
  .tab-content.active {
    display: block;
  }
  
  .tab-content h2 {
    color: #f6f9fd;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  /* Form Styles in Tab Content */
  .tab-content form div {
    margin-bottom: 1rem;
  }
  
  .tab-content label {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 5px;
  }
  
  .tab-content select,
  .tab-content input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #264d66;
    border: 1px solid #1b3a4e;
    color: #fff;
    border-radius: 8px;
  }
  
  .tab-content input[type="submit"] {
    background-color: #1b3a4e;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  .tab-content input[type="submit"]:hover {
    background-color: #264d66;
  }
  
  /* Anthology List */
  .anthology-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
  }
  
  .anthology-item {
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url(/assets/white_leather-e8616d02dbf4b329d0463c2ae0d671a343fabda2acdf1ee4881525678c8322e9.png), linear-gradient(#264d66, #264d66);
    background-blend-mode: multiply;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .anthology-item h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #498cb5;
    font-family: "good-times-bad-times", sans-serif;
    font-weight: 400;
  }
  
  .anthology-item p {
    margin: 0.5rem 0 0;
    color: #ffffff;
  }
  
  /* Search Bar in Anthologies Tab */
  #anthology-search {
    width: 100%;
    padding: 10px;
    margin-bottom: 1rem;
    background-color: #264d66;
    border: 1px solid #1b3a4e;
    color: #fff;
    border-radius: 8px;
  }
  
  /* Hide Scrollbar in Tab Content */
  .tab-content::-webkit-scrollbar {
    display: none;
  }
  
  .tab-content {
    scrollbar-width: none;
  }
  
  .quote-item .source a {
    color: #83c5be;
    text-decoration: none;
  }
  
  .quote-item .source a:hover {
    text-decoration: none;
    color: #2a9d8f;
  }
  
  /* Toggle Left Panel Button in Settings */
  #settings #toggle-left-panel {
    padding: 10px 20px;
    background-color: #1b3a4e;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  
  #settings #toggle-left-panel:hover {
    background-color: #264d66;
  }
  
  /* Toggle Right Panel Button */
  #toggle-right-panel {
    padding: 10px 20px;
    /* no background color */
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #toggle-right-panel svg {
    /* fill: #fff; SVG fill color */
    width: 24px; /* SVG width */
    height: 24px; /* SVG height */
  }
  

  /* Login Form Styling */
.login-container {
    max-width: 400px;
    min-width: 350px;
    margin: 5% auto;
    padding: 2rem;
    background-color: #1b3a4e; /* Dark background similar to new-quote-form */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #f5f5f5;
  }
  
  .login-container h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: "good-times-bad-times", sans-serif;
    color: #f6f9fd;
  }
  
  .form-group {
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .form-group label {
    font-size: 1rem;
    color: #f6f9fd;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .form-input {
    width: 100%;
    padding: 0.75rem;
    background-color: #264d66;
    border: 1px solid #1b3a4e;
    color: #f5f5f5;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s;
  }
  
  .form-input:focus {
    background-color: #315e7d;
    outline: none;
  }
  
  .form-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: #498cb5;
    color: #f6f9fd;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
  }
  
  .form-submit:hover {
    background-color: #1b3a4e;
  }
  
  .form-submit:focus {
    outline: none;
  }
  
