/* Custom CSS overrides - Manual changes moved from compiled styles.css */

/* Arbitrary padding classes */
/*
form input[type='submit'] {
  color: white;
} */

#block-twbase-metaforikoisodynamo img{
width:100%;
}

  /* Dark mode text color */
  .dark\:tw-text-gray-600:is(.tw-dark *) {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
  }

  /* Medium screen flex utilities */
  .md\:tw-flex-shrink-0 {
    flex-shrink: 0;
  }

  .md\:tw-items-start {
    align-items: flex-start;
  }

  /* Prose typography fixes - Uncommented margin-bottom properties */
  .sm\:tw-prose-base :where(p):not(:where([class~="tw-not-prose"],[class~="tw-not-prose"] *)) {
    margin-bottom: 1.25em;
  }

  .lg\:tw-prose-lg :where(p):not(:where([class~="tw-not-prose"],[class~="tw-not-prose"] *)) {
    margin-bottom: 1.3333333em;
  }

  .xl\:tw-prose-xl :where(p):not(:where([class~="tw-not-prose"],[class~="tw-not-prose"] *)) {
    margin-bottom: 1.2em;
  }

  .\32xl\:tw-prose-2xl :where(p):not(:where([class~="tw-not-prose"],[class~="tw-not-prose"] *)) {
    margin-bottom: 1.3333333em;
  }

.lg\:tw-prose-lg :where(ul > li.splide__slide):not(:where([class~="tw-not-prose"],[class~="tw-not-prose"] *)){
    padding-inline-start: 0!important;
}

/*
  Custom button styles for Add, Edit, Delete actions.
  This CSS targets input buttons based on their 'value' attribute.
  If your buttons are <button> or <a> tags, you will need to add a custom class to them and target that class instead.
*/

/* --- Add Button --- */
/* Style for "Προσθήκη διεύθυνση" */
input[type="submit"][value="Προσθήκη διεύθυνση"] {
    background-color: #2563eb; /* tw-bg-blue-600 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

input[type="submit"][value="Προσθήκη διεύθυνση"]:hover {
    background-color: #1d4ed8; /* tw-bg-blue-700 */
}


/* --- Edit Button --- */
/* Style for "Επεξεργασία" */
input[type="submit"][value="Επεξεργασία"] {
    background-color: #f59e0b; /* tw-bg-amber-500 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

input[type="submit"][value="Επεξεργασία"]:hover {
    background-color: #d97706; /* tw-bg-amber-600 */
}


/* --- Delete Button --- */
/* Style for "Διαγραφή" */
input[type="submit"][value="Διαγραφή"] {
    background-color: #ef4444; /* tw-bg-red-500 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

input[type="submit"][value="Διαγραφή"]:hover {
    background-color: #dc2626; /* tw-bg-red-600 */
}



/* Hide subscription button for subscriber role */
.user-has-subscriber-role a[href="/subscriptions"] {
  display: none !important;
}

/* User password reset button styling */
.user-pass-reset .form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 0.375rem;
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.user-pass-reset .form-submit:hover {
  background-color: #1d4ed8;
}

.user-pass-reset .form-submit:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.address-book__add-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2563eb;
  color: white!important;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
}

.address-book__add-link:hover {
  background-color: #1d4ed8;
}

.address-book__edit-link{
display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f97316;
  color: white!important;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
}

.address-book__edit-link:hover {
  background-color: #ea580c;
}

.address-book__delete-link{
display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ef4444;
  color: white!important;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
}

.address-book__delete-link:hover {
  background-color: #dc2626;
}


.block-local-actions-block li{
    list-style: none;
}

.block-twbase-local-actions ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.block-twbase-local-actions li {
  list-style: none !important;
}



.user-profile-header {
      font-size: 15px;
      overflow-x: hidden;
}

.field--type-text-with-summary .js-filter-wrapper {
  display: none;
}

/* Enforce consistent aspect ratio for timeliness mini grid images */
.timeliness-mini-grid .timeliness-card__media {
  aspect-ratio: 3 / 2;
}

.timeliness-mini-grid .timeliness-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.field-body-debug :not(.simpleads-random) img {
  margin: 0 15px 10px 0 !important;
}
.field-body-debug .simpleads-random img {
  margin: unset;
}

/* article .field-body-debug :not(.simpleads-random) img {
}
*/
