/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: A child theme of Astra
 Author: Algopage
 Author URI: ijsmt.org
 Template: astra
 Version: 1.0.0
*/

/* =========================================================
   GLOBAL RESET
   ========================================================= */
* {
  box-sizing: border-box;
}

/* =========================================================
   COMMON SIDEBAR (OLD DESIGN – KEEP AS IS)
   ========================================================= */
.sidebar-box {
  background: #ffffff;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  overflow: hidden;
}

.sidebar-header {
  background-color: #002D62;
  color: #ffffff;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 15px;
  font-family: "Open Sans", Sans-serif;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Open Sans", Sans-serif;
  border-bottom: 1px solid #f1f1f1;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list li:hover {
  background: #f1f1f1;
  transition: all 0.25s ease-in-out;
}

.sidebar-list li i {
  margin-right: 10px;
  color: #999;
  min-width: 18px;
}

.sidebar-list li a {
  color: #333 !important;
  text-decoration: none !important;
}

.sidebar-list li a:hover {
  color: #002D62;
  text-decoration: underline;
}

/* =========================================================
   🔥 MY CUSTOM SIDEBAR (ONLY [my_custom_sidebar])
   ========================================================= */
.my-custom-sidebar {
  background: #f00000;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}

/* Header */
.my-custom-sidebar .sidebar-header {
  background: #f00000;
  color: #ffffff;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 15px;
  font-family: "Open Sans", Sans-serif;
}

/* List */
.my-custom-sidebar .sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.my-custom-sidebar .sidebar-list li {
  padding: 10px 15px;
  border-bottom: 1px solid #ffd1d1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.my-custom-sidebar .sidebar-list li:hover {
  background: #ffe6e6;
  transition: all 0.3s ease;
}

.my-custom-sidebar .sidebar-list li i {
  color: #f00000;
  min-width: 18px;
}

.my-custom-sidebar .sidebar-list li a {
  color: #333333 !important;
  text-decoration: none !important;
}

.my-custom-sidebar .sidebar-list li a:hover {
  color: #f00000 !important;
  text-decoration: underline;
}

/* =========================================================
   CARD (Call for Papers)
   ========================================================= */
.card {
  margin: 0 auto;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.card-header {
  background-color: #002D62;
  color: #ffffff;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 16px;
  position: relative;
}

.card-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background-color: #E68A37;
}

.card-content {
  padding: 0 15px 15px;
}

.card-title {
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  margin: 15px 0;
  color: #002D62;
}

/* =========================================================
   TABLE
   ========================================================= */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

td {
  padding: 8px 5px;
}

.label {
  color: #f28c28;
  font-weight: bold;
}

.value {
  text-align: right;
}

/* =========================================================
   BUTTON
   ========================================================= */
.submit-btn {
  background-color: #f28c28;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-block;
}

.submit-btn:hover {
  background-color: #e6740f;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .sidebar-box {
    width: 90%;
  }
}

@media (max-width: 767px) {
  .sidebar-box {
    width: 100%;
  }
}
