/* 
Theme Name: SPS-SSE Edition
Theme URI: https://dokundigital.com
Description: SIPS - Sistem Informasi Penjemputan Siswa (SSE Edition)
Author: Distek x Dokun Digital
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

#nav, #backtoblog {
    display: none;
}

/* css/daftar-penjemputan.css */
#tabel-penjemputan {
    font-size: 40px;
}

/* Styling untuk halaman jemput */
.halaman-jemput-container {
    background-color: #FF6F1F; /* Warna latar belakang oranye */
    padding: 20px;
    border-radius: 10px;
    color: white;
    width: 400px;
    font-family: Arial, sans-serif;
    position: relative;
}

.halaman-jemput-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.halaman-jemput-header h2 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.halaman-jemput-header .date-time {
    text-align: right;
}

.halaman-jemput-header .date-time .time {
    font-size: 24px;
    font-weight: bold;
}

.halaman-jemput-header .date-time .date {
    font-size: 14px;
}

.halaman-jemput-table {
    width: 100%;
    margin-top: 20px;
    background-color: white;
    border-radius: 10px;
    color: black;
    overflow: hidden;
	border:1px solid #fff;
}

.halaman-jemput-table th,
.halaman-jemput-table td {
    padding: 10px;
    text-align: left;
}

.halaman-jemput-table th {
    background-color: #A01759 !important;
    color: white;
}

.halaman-jemput-table td {
    border-bottom: 1px solid #ddd;
}

.halaman-jemput-table .button-container {
    text-align: left;
}

.halaman-jemput-table .jemput-sekarang {
    background-color: #A01759;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.halaman-jemput-table .jemput-sekarang:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


/* css/daftar-penjemputan.css */

#tabel-penjemputan {
    width: 100%; /* Membuat tabel penuh lebar */
    font-size: 40px; /* Memperbesar font */
    border-collapse: collapse; /* Menghapus jarak antar border sel */
}

#tabel-penjemputan th,
#tabel-penjemputan td {
    border: 1px solid #ddd; /* Menambahkan border pada tabel */
    padding: 8px; /* Memberikan padding pada sel */
}

#tabel-penjemputan th {
    background-color: #f2f2f2; /* Warna latar belakang header tabel */
    text-align: left; /* Meratakan teks ke kiri */
}

/* admin-jemput.css */
.admin-jemput-container {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.search-container {
    margin-bottom: 20px;
}

#search-siswa {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.admin-jemput-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-jemput-table th, .admin-jemput-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.admin-jemput-table th {
    background-color: #f2f2f2;
}

@media screen and (max-width: 600px) {
    .admin-jemput-table, .admin-jemput-table th, .admin-jemput-table td {
        display: block;
        width: 100%;
    }
    .admin-jemput-table tr {
        margin-bottom: 10px;
    }
}

.button-container {
    text-align: center;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    margin: 0 5px;
    padding: 8px 16px;
    text-decoration: none;
    color: #0073aa;
    border: 1px solid #ddd;
}

.pagination a.active {
    background-color: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
}

.pagination a:hover {
    background-color: #ddd;
}

.jemput-sekarang.disabled, .jemput-button.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Core styling for elements that might be used inside the form,
   but specific enough to not clash globally */
*,
:after,
:before {
  box-sizing: border-box;
  outline: 0;
  -webkit-appearance: none; /* For cross-browser compatibility */
  -moz-appearance: none;
  appearance: none;
}

/* Specific link styling within the form footer */
.sips-form-footer a {
  color: #fd7818;
  text-decoration: none;
  font-weight: bold;
}
.sips-form-footer a:hover {
  color: #005ce6;
}

/* Core styling for elements that might be used inside the form,
   but specific enough to not clash globally */
*,
:after,
:before {
  box-sizing: border-box;
  outline: 0;
  -webkit-appearance: none; /* For cross-browser compatibility */
  -moz-appearance: none;
  appearance: none;
}

/* Specific link styling within the form footer */
.sips-form-footer a {
  color: #fd7818;
  text-decoration: none;
  font-weight: bold;
}
.sips-form-footer a:hover {
  color: #005ce6;
}

/* The actual login card/form container */
/* Ini adalah bagian yang hanya fokus pada form itu sendiri */
.sips-login-card {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px; /* Ukuran font dasar card */
  background: #fff;
  border-radius: 14px;
  
  /* PENTING: Mengatur lebar form */
  width: 400px; /* Lebar target form */
  max-width: 100%; /* Pastikan form responsif dan tidak meluap di layar kecil */
  
  padding: 30px; /* Padding keseluruhan card, disesuaikan untuk lebar 400px */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Shadow sedikit lebih kuat */
  margin: 30px auto; /* Memberi margin atas/bawah dan centering horizontal */
}

/* Styling for the form element inside the card */
.sips-login-card form {
  display: grid;
  padding: 0; /* No padding on the form itself */
  gap: 20px; /* Jarak antar elemen form */
}

/* Input group */
.sips-input-group {
  position: relative;
}

/* Input field styling */
.sips-input {
  border-radius: 10px !important;
  height: 50px; /* Tinggi input */
  font-size: 17px; /* Ukuran font input */
  transition: box-shadow 0.15s ease;
  box-shadow: inset #d8d8da 0 0 0 1px, inset #fff 0 0 0 100px !important;
  border: none;
  width: 100%;
  outline: 0;
  padding: 0 15px; /* Padding horizontal default */
  padding-left: 55px; /* Padding kiri disesuaikan untuk ikon */
}
.sips-input:hover:not(:disabled) {
  box-shadow: inset #b1b0b5 0 0 0 1px, inset #fff 0 0 0 100px !important;
}
.sips-input:focus:not(:disabled) {
  box-shadow: inset #06f 0 0 0 1px, inset #fff 0 0 0 100px !important;
}

/* Icon positioning */
.sips-icon {
  position: absolute;
  left: 18px; /* Posisi ikon dari kiri */
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px; /* Ukuran ikon dashicons */
  color: #7d7c83; /* Warna ikon */
  line-height: 1; /* Pastikan line-height tidak mempengaruhi centering */
  z-index: 2; /* Pastikan ikon di atas input (jika ada tumpang tindih) */
}

/* Button styling */
.sips-btn {
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  transition: all 0.15s ease;
  height: 50px; /* Tinggi tombol utama sesuai input */
  line-height: 49px; /* Line-height untuk vertikal center text */
  border-radius: 10px;
  font-size: 17px; /* Ukuran font tombol */
}
.sips-btn-primary {
  background: #fd7818;
  color: #fff;
  padding: 0 21px; /* Padding horizontal */
}
.sips-btn-primary:not(:disabled):not(.is-disabled):hover {
  background: #005ce6;
}
.sips-btn-show-hide {
  position: absolute;
  top: 50%; /* Posisi vertikal di tengah input group */
  transform: translateY(-50%); /* Penyesuaian untuk centering */
  width: auto;
  right: 6px; /* Jarak dari kanan */
  border-radius: 8px;
  font-size: 14px; /* Ukuran font tombol show/hide */
  padding: 0 14px; /* Padding tombol show/hide */
  height: 38px; /* Tinggi tombol show/hide */
  line-height: 38px; /* Line-height untuk vertikal center text */
  color: #000;
  background: #f0f0f0; /* Background untuk tombol show/hide */
  box-shadow: inset rgb(0 0 0 / 15%) 0 0 0 1px;
  z-index: 2; /* Pastikan tombol di atas input */
}
.sips-btn-show-hide:not(:disabled):not(.is-disabled):hover {
  box-shadow: inset rgb(0 0 0 / 30%) 0 0 0 1px;
  background: #e0e0e0;
}

/* Form footer section */
.sips-form-footer {
  box-shadow: rgb(0 0 0 / 11%) 0 -1px;
  text-align: center;
  line-height: 1.7em;
  padding-top: 20px; /* Padding atas */
  margin-top: 25px; /* Jarak dari form */
}
.sips-copy-right {
  color: #7d7c83;
  font-size: 14px; /* Ukuran font copyright */
  margin: 0; /* Pastikan tidak ada margin default p */
}

/* Error message styling */
.sips-login-error-notice {
  padding: 15px 20px; /* Padding internal */
  margin-bottom: 25px; /* Jarak dari form */
  background-color: #ffe0e0; /* Background merah muda */
  color: #d8000c; /* Warna teks merah gelap */
  border: 1px solid #d8000c; /* Border merah */
  border-radius: 8px; /* Sudut membulat */
  font-size: 15px; /* Ukuran font error */
  text-align: center;
}

/* Spinner (if still used) */
.spinner {
  margin: 0;
  text-align: left;
}
.spinner > div {
  width: 10px;
  height: 10px;
  background-color: #9e9e9e;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

/* Main Jemput Card Container */
.sips-jemput-card {
    font-family: 'Poppins', sans-serif; /* Menggunakan font Poppins */
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    /* Lebar untuk desktop */
    width: 400px;
    max-width: 100%; /* Pastikan responsif di layar lebih kecil dari 400px */
    margin: 20px auto; /* Centering horizontal dan vertical margin */
    overflow: hidden; /* Ensures rounded corners apply to children */
}

/* Header Section */
.sips-jemput-header {
    background-color: #fd7818; /* Primary brand color */
    padding: 1.5rem; /* 24px */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 0.75rem; /* 12px gap */
}
.sips-header-left {
    flex-grow: 1; /* Biarkan mengambil ruang yang tersedia */
    min-width: 150px; /* Pastikan tidak terlalu kecil di mobile */
}
.sips-header-greeting {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    margin: 0; /* Hapus margin default h2 */
}
.sips-header-datetime {
    text-align: right;
    flex-shrink: 0; /* Jangan biarkan menyusut */
}
.sips-header-time {
    font-size: 2rem; /* 32px */
    font-weight: 800;
    line-height: 1;
    margin: 0; /* Hapus margin default p */
}
.sips-header-date {
    font-size: 0.875rem; /* 14px */
    opacity: 0.9;
    margin: 0; /* Hapus margin default p */
}

/* Student Profile Cards Container (Vertical Stack) */
.sips-student-cards-container {
    padding: 1.5rem; /* 24px */
    display: flex;
    flex-direction: column; /* Stack cards vertically */
    gap: 1.5rem; /* 24px gap between cards */
}

/* Individual Student Profile Card */
.sips-student-profile-card {
    background-color: #f9fafb; /* Light background for card */
    border: 1px solid #e5e7eb; /* Subtle border */
    border-radius: 0.75rem; /* 12px */
    padding: 1.5rem; /* 24px, slightly more padding for vertical layout */
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally within the card */
    gap: 1rem; /* 16px gap between photo, info, and button */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Lighter shadow for individual cards */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.sips-student-profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Student Photo Styling */
.sips-student-photo-wrapper {
    flex-shrink: 0;
    width: 150px; /* 96px */
    height: 150px; /* 96px */
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0e0e0; /* Placeholder background */
    display: flex;
    justify-content: center;
    align-items: center;
	border:2px solid #fd7818;
    margin-bottom: 0.5rem; /* 8px space below photo */
}
.sips-student-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Student Info (Name and Class) */
.sips-student-info {
    text-align: center;
    flex-grow: 1;
    width: 100%;
}
.sips-student-name {
    font-size: 1.5rem; /* 24px, larger for prominence */
    font-weight: 700;
    color: #1f2937; /* Dark gray text */
    margin-bottom: 0.25rem; /* 4px */
}
.sips-student-class {
    font-size: 1rem; /* 16px */
    color: #6b7280; /* Gray text */
    margin-bottom: 1rem; /* 16px space below class before button */
}

/* Student Actions (Button Container) */
.sips-student-actions {
    flex-shrink: 0;
    width: 100%; /* Make button container full width */
}

/* Jemput Button Styling */
.sips-jemput-btn {
    background-color: #4CAF50; /* Fallback color: Green */
    background-image: linear-gradient(to right, #4CAF50 0%, #8BC34A 100%); /* Gradient from green to light green */
    color: #fff;
    padding: 1rem 2rem; /* 16px vert, 32px horiz */
    border-radius: 0.75rem; /* 12px */
    font-weight: 700;
    font-size: 1.25rem; /* 20px */
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    width: 100%; /* Ensure button takes full width of its container */
    text-align: center;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.4); /* Prominent shadow based on green */
}
.sips-jemput-btn:hover {
    background-color: #43A047; /* Darker shade on hover (fallback) */
    background-image: linear-gradient(to right, #8BC34A 0%, #4CAF50 100%); /* Reverse gradient on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.6); /* Stronger shadow on hover */
}
.sips-jemput-btn:disabled {
    background-color: #d1d5db; /* Gray-300 */
    background-image: none; /* No gradient when disabled */
    color: #6b7280; /* Gray-500 */
    cursor: not-allowed;
    box-shadow: none; /* No shadow when disabled */
    transform: none; /* No lift when disabled */
}

/* Logout Button Styling */
.sips-jemput-footer {
    padding: 1.5rem; /* 24px */
    padding-top: 0; /* No top padding as it's part of the card's bottom */
}
.sips-logout-btn {
    background-color: #ef4444; /* Red for danger/logout */
    color: #fff;
    padding: 0.75rem 1.5rem; /* 12px vert, 24px horiz */
    border-radius: 0.5rem; /* 8px */
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    display: block;
    width: fit-content; /* Fit content width */
    margin-top: 1.5rem; /* 24px */
    margin-left: auto; /* Align center */
    margin-right: auto; /* Align center */
}
.sips-logout-btn:hover {
    background-color: #dc2626; /* Darker red on hover */
}

/* Empty State Message */
.sips-empty-state {
    text-align: center;
    padding: 2rem; /* 32px */
    color: #6b7280; /* Gray text */
    font-style: italic;
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 640px) { /* Tailwind's sm breakpoint */
    .sips-jemput-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .sips-header-datetime {
        text-align: left;
        width: 100%;
        margin-top: 0.5rem; /* 8px */
    }
    /* Perbaikan untuk lebar card di mobile */
    .sips-jemput-card {
        width: 350px; /* Lebar target untuk mobile */
        max-width: 100%; /* Pastikan responsif di layar lebih kecil dari 350px */
        margin: 1rem auto; /* Margin atas/bawah 1rem, kiri/kanan auto untuk centering */
    }
    .sips-student-cards-container {
        padding: 1rem; /* 16px */
    }
    .sips-student-profile-card {
        padding: 1rem; /* 16px */
        gap: 0.75rem; /* 12px */
    }
    .sips-student-name {
        font-size: 1.25rem; /* 20px */
    }
    .sips-student-class {
        font-size: 0.95rem; /* 15.2px */
    }
    .sips-jemput-btn {
        padding: 0.8rem 1.5rem; /* 12.8px vert, 24px horiz */
        font-size: 1.125rem; /* 18px */
    }
}