/* ============================================================
   CUSTOM THEME FOR EPRINTS REPOSITORY ARIS KURNIAWAN
   ============================================================ */

/* ===== Base Font & Body ===== */
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

/* ===== Navbar ===== */
.navbar { box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.navbar-brand img { max-height: 40px; }
.navbar-dark .navbar-nav .nav-link { color: #fff; font-weight: 500; }
.navbar-dark .navbar-nav .nav-link:hover { color: #d4edda; }
.custom-navbar { background-color: #444444 !important; }

/* ===== Login Box ===== */
.box-login-lang {
  background-color: rgb(255,255,255);
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #000;
}

/* ===== Banner ===== */
.banner-wrapper {
  background: url("/images/bannernya.jpg") no-repeat center center;
  background-size: cover;
  padding: 100px 0;
  position: relative;
}
.banner-wrapper::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
}
.banner { position: relative; z-index: 2; }
.banner h1 { font-weight: 700; color: #fff; }
.banner-content p { color: #f8f9fa; font-size: 1.2rem; }

/* ===== Search Form ===== */
.search-form { margin-top: 20px; }
.search-form input[type="text"] {
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  width: 60%;
  max-width: 400px;
}
.search-form button {
  border-radius: 25px;
  margin-left: 10px;
  padding: 10px 20px;
  background-color: #198754;
  color: #fff;
  border: none;
}
.search-form button:hover { background-color: #157347; }
.btn-advanced-search { border-radius: 25px; font-weight: 500; }

/* ===== Headings ===== */
h1, h2, h3 { font-weight: 600; color: #155724; }

/* ===== Links ===== */
a { color: #198754; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Table ===== */
table { border-collapse: collapse; }
table th, table td {
  padding: 0.5rem;
  border: 1px solid #dee2e6;
}

/* ===== Responsive Banner ===== */
@media (max-width: 768px) {
  .banner-wrapper { padding: 60px 20px; }
  .banner h1 { font-size: 1.8rem; }
  .banner-content p { font-size: 1rem; }
  .search-form input[type="text"] { width: 100%; margin-bottom: 10px; }
  .search-form button { width: 100%; margin-left: 0; }
}
@media (max-width: 480px) {
  .banner-wrapper { padding: 40px 15px; }
  .banner h1 { font-size: 1.5rem; }
  .banner-content p { font-size: 0.9rem; }
}

/* ============================================================
   FORM INPUT FLEXIBLE DRAG DROP
   ============================================================ */
.ep_form_field { margin-bottom: 20px; }
.ep_form_label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #646464;
}

.ep_form_input input,
.ep_form_input select,
.ep_form_input textarea {
  width: 100% !important;
  background-color: #f8f8f8 !important;
  border-radius: 6px !important;
  border: 1px solid #e5e5e5 !important;
  padding: 10px 14px !important;
  color: #212529 !important;
}

.ep_form_input input:focus,
.ep_form_input select:focus,
.ep_form_input textarea:focus {
  border-color: #e89980 !important;
  box-shadow: 0 0 0 2px #e89980 !important;
}

textarea.ep_eprint_title,
textarea.ep_eprint_abstract {
  resize: both !important;
  min-height: 200px !important;
  padding: 10px 14px;
  background-color: #f8f8f8;
  border-radius: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
footer.site-footer {
  background-color: #444444 !important;
  color: #ffffff !important;
  border-top: 0 !important;
  padding: 20px 0 !important;
}

.site-footer .container { background: transparent !important; }
.site-footer .text-start,
.site-footer .text-end { color: #ffffff !important; }

.site-footer a {
  color: #ffffff !important;
  text-decoration: none !important;
}
.site-footer a:hover {
  color: #e6e6e6 !important;
  text-decoration: underline !important;
}

.site-footer.with-divider {
  border-top: 1px solid rgba(255,255,255,0.15) !important;
}

.site-footer img {
  max-height: 40px;
  filter: none;
}

/* ============================================================
   ICON CARD STYLE
   ============================================================ */
.how-search-item {
  background-color: #ffffff !important;
  border: none !important;
  padding: 20px 10px !important;
  border-radius: 10px;
  text-align: center;
  transition: 0.25s ease-in-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.how-search-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.how-search-item .thumb img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  margin-bottom: 12px;
  opacity: 0.95;
}

.how-search-item .content .title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-top: 5px;
}

.how-search-item .content .title a {
  color: #6025E2 !important;
  text-decoration: none !important;
}

.how-search-item .content .title a:hover {
  text-decoration: underline !important;
}

.mb-30-none > div { margin-bottom: 30px !important; }


/* ===== shadow icon-card ===== */
.how-search-item {
  box-shadow: 0 6px 18px rgba(0,0,0,0.20) !important;
}

.how-search-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25) !important;
}


/* ============================================================
   END OF CLEAN CUSTOM.CSS
   ============================================================ */
