PAMSIMAS_Gumuksari/PAMSIMAS_User/public/css/style.css

1412 lines
27 KiB
CSS

/* GENERAL STYLING */
body {
margin: 0;
font-family: "Poppins", sans-serif;
background-color: #f4f6f9;
color: #333;
}
/* KONTEN UTAMA */
.mobile-container {
max-width: 480px;
margin: auto;
background-color: #fff;
min-height: 100vh;
position: relative;
padding-bottom: 80px;
box-sizing: border-box;
}
.main-content {
padding: 20px;
}
/* HEADER */
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}
.user-greeting{
display:flex;
align-items:center;
gap: 15px;
}
.user-greeting h3 {
margin: 0;
font-size: 18px;
font-weight: 600;
}
.header-icons {
display: flex;
align-items: center;
gap: 16px;
}
.header-icons .fa-bell {
font-size: 22px;
color: #555;
}
.user-initials {
width: 36px;
height: 36px;
border-radius: 50%;
background-color: #e0e7ff;
color: #4338ca;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 14px;
}
/* CARD TAGIHAN */
.bill-card {
background: linear-gradient(90deg, #8a2be2, #c71585);
color: white;
padding: 20px;
border-radius: 20px;
margin-bottom: 24px;
}
.bill-header {
display: flex;
align-items: center;
gap: 10px;
opacity: 0.9;
}
.bill-header h4 {
margin: 0;
font-weight: 500;
}
.bill-amount h2 {
margin: 12px 0 4px 0;
font-size: 32px;
font-weight: 700;
}
.bill-amount p {
margin: 0;
opacity: 0.8;
font-size: 14px;
margin-bottom: 20px;
}
.bill-card-btn {
width: 100%;
padding: 14px;
margin-top: 20px;
border: none;
border-radius: 12px;
background-color: white;
color: #8a2be2;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.bill-card-btn:hover {
background-color: #f3e8ff;
transform: translateY(-2px);
}
.bill-card-actions {
text-align: center;
margin-top: 10px;
margin-bottom: 16px;
}
.detail-link {
color: white;
font-size: 14px;
font-weight: 500;
text-decoration: underline;
opacity: 0.9;
transition: opacity 0.3s ease;
}
.detail-link:hover {
opacity: 1;
}
.bill-card .bill-card-btn {
margin-top: 0;
}
/* INFO SECTION (Pengumuman & Akses Cepat) */
.info-section {
margin-bottom: 24px;
}
.info-section h4 {
margin: 0 0 12px 0;
font-size: 16px;
font-weight: 600;
}
.scroll-container {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 kolom */
gap: 16px;
}
.news-scroll {
display: flex;
gap: 16px;
overflow-x: auto;
overflow-y: hidden;
scroll-behavior: smooth;
scrollbar-width: none;
}
.news-scroll::-webkit-scrollbar {
display: none;
}
.news-scroll .announcement-card {
min-width: 240px;
flex: 0 0 auto;
}
/* ANNOUNCEMENT CARD & ACCESS CARD*/
.announcement-card {
flex: 0 0 220px;
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
overflow: hidden;
}
.announcement-card img {
width: 100%;
height: 80%; /* otomatis sesuai proporsi asli */
max-height: 120px; /* tetap ada batas tinggi */
object-fit: cover;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.announcement-card h5 {
margin: 6px 10px;
font-size: 13px;
/* tambahan untuk memotong teks panjang */
display: -webkit-box;
-webkit-line-clamp: 2; /* maksimal 2 baris */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.announcement-card p {
margin: 0 10px 8px 10px;
font-size: 12px;
color: #666;
display: -webkit-box;
-webkit-line-clamp: 2; /* maksimal 2 baris */
-webkit-box-orient: vertical;
overflow: hidden;
}
.access-card {
flex: 0 0 120px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
padding: 20px 10px;
border-radius: 12px;
background: #f8fafc;
border: 1px solid #e2e8f0;
font-size: 13px;
font-weight: 500;
text-align: center;
cursor: pointer;
}
.access-card i {
font-size: 24px;
color: #4f46e5;
}
/* TAGIHAN INDEX */
.empty-state-card {
background-color: #ffffff;
border: 2px dashed #e2e8f0;
border-radius: 20px;
padding: 30px 20px;
text-align: center;
color: #475569;
margin-bottom: 24px;
}
.empty-state-icon {
color: #22c55e;
width: 60px;
height: 60px;
margin: 0 auto 16px auto;
}
.empty-state-icon svg {
width: 100%;
height: 100%;
}
.empty-state-card h4 {
font-size: 18px;
font-weight: 600;
color: #1e293b;
margin: 0 0 8px 0;
}
.empty-state-card p {
font-size: 14px;
margin: 0 0 20px 0;
}
.history-btn {
display: inline-block;
padding: 12px 24px;
border: 2px solid #8a2be2;
border-radius: 12px;
background-color: transparent;
color: #8a2be2;
font-size: 15px;
font-weight: 600;
cursor: pointer;
text-decoration: none;
transition: all 0.3s ease;
}
.history-btn:hover {
background-color: #8a2be2;
color: #ffffff;
}
.history-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.history-item {
display: flex;
align-items: center;
background: #fff;
padding: 15px;
border-radius: 10px;
border: 1px solid #e2e8f0;
}
.history-item .history-icon {
font-size: 24px;
color: #22c55e;
margin-right: 15px;
}
.history-item .history-details {
flex-grow: 1;
}
.history-item .history-details h5 {
margin: 0 0 4px 0;
font-size: 15px;
font-weight: 600;
}
.history-item .history-details p {
margin: 0;
font-size: 10px;
color: #64748b;
}
.history-item .history-amount {
font-size: 15px;
font-weight: 600;
}
.pagination-links {
margin-top: 20px;
}
.history-item-link {
text-decoration: none;
color: inherit;
display: block;
transition: transform 0.2s ease;
}
.history-item-link:hover .history-item {
transform: scale(1.02);
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
/* TAGIHAN SHOW */
.invoice-detail-card {
background-color: #ffffff;
border-radius: 20px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07);
padding: 24px;
overflow: hidden;
}
.invoice-detail-header {
text-align: center;
border-bottom: 1px solid #f1f5f9;
padding-bottom: 20px;
margin-bottom: 20px;
}
.invoice-detail-header p {
margin: 0 0 4px 0;
font-size: 14px;
font-weight: 500;
color: #64748b;
}
.invoice-detail-header h2 {
margin: 0;
font-size: 36px;
font-weight: 700;
color: #1e293b;
line-height: 1.2;
}
.status-badge {
display: inline-block;
margin-top: 16px;
padding: 6px 14px;
font-size: 12px;
font-weight: 600;
border-radius: 999px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.status-badge.unpaid {
background-color: #fffbeb;
color: #d97706;
}
.status-badge.paid {
background-color: #f0fdf4;
color: #16a34a;
}
.invoice-detail-body {
display: flex;
flex-direction: column;
gap: 16px;
}
.detail-item {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}
.detail-item span {
color: #64748b;
}
.detail-item strong {
font-weight: 600;
color: #1e293b;
}
.pay-now-btn {
width: 100%;
padding: 14px;
margin-top: 20px;
border: none;
border-radius: 12px;
background-color: white;
color: #4338ca;
border: 2px solid #4338ca;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.pay-now-btn:hover {
background-color: #4338ca;
color: #ffffff;
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
}
.invoice-detail-separator {
display: flex;
align-items: center;
text-align: center;
margin: 24px 0;
}
.invoice-detail-separator::before,
.invoice-detail-separator::after {
content: '';
flex: 1;
border-bottom: 1px solid #f1f5f9;
}
.invoice-detail-separator span {
padding: 0 16px;
font-size: 14px;
font-weight: 500;
color: #64748b;
}
/* ===== CSS UNTUK RESI BCA ===== */
.receipt-container {
}
.receipt-header {
padding: 24px 0;
text-align: center;
}
.receipt-icon-success {
width: 60px;
height: 60px;
background-color: #22c55e;
color: white;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
margin-bottom: 16px;
}
.receipt-icon-success svg {
width: 32px;
height: 32px;
}
.receipt-header h4 {
font-size: 18px;
font-weight: 600;
color: #1e293b;
margin: 0 0 8px 0;
}
.receipt-header h2 {
font-size: 32px;
font-weight: 700;
color: #1e293b;
margin: 0;
}
.receipt-body {
padding: 24px 0;
}
.receipt-detail-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.receipt-detail-item {
display: flex;
justify-content: space-between;
align-items: flex-start;
font-size: 12px;
border-bottom: 1px solid #e2e8f0;
padding-bottom: 16px;
}
.receipt-detail-item span {
color: #64748b;
padding-right: 16px;
flex-shrink: 0;
}
.receipt-detail-item strong {
color: #1e293b;
font-weight: 500;
text-align: right;
}
.receipt-footer {
position: fixed;
bottom: 0;
padding: 16px 20px;
gap: 12px;
left: 0;
width: 100%;
background-color: #ffffff;
border-top: 1px solid #e2e8f0;
padding: 16px;
display: flex;
align-items: center;
box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
z-index: 100;
}
.receipt-btn-icon {
width: 48px;
height: 48px;
border-radius: 50%;
border: none;
background-color: #f1f5f9;
color: #475569;
font-size: 18px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background-color 0.2s ease;
flex-shrink: 0; /* Mencegah tombol ikon jadi penyet */
}
.receipt-btn-icon:hover {
background-color: #e2e8f0;
}
.receipt-btn-primary {
flex-grow: 1;
margin-right: 30px;
padding: 14px;
border: none;
border-radius: 24px;
background-color: #00529c;
color: white;
font-size: 16px;
font-weight: 600;
text-align: center;
text-decoration: none;
cursor: pointer;
transition: background-color 0.2s ease;
}
.receipt-btn-primary:hover {
background-color: #003a70;
}
.receipt-wrapper {
background-color: #ffffff; /* Latar belakang putih solid */
padding: 0 16px; /* Padding kanan kiri untuk mobile */
padding-bottom: 100px; /* Ruang untuk footer */
}
/* === BOTTOM NAVIGATION (MOBILE) === */
.bottom-nav {
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
max-width: 480px;
height: 65px;
background-color: white;
display: flex;
justify-content: space-around;
align-items: center;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.07);
border-top-left-radius: 15px;
border-top-right-radius: 15px;
z-index: 1000;
}
.bottom-nav .nav-item {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: #9ca3af;
font-size: 11px;
font-weight: 500;
}
.bottom-nav .nav-item i {
font-size: 20px;
margin-bottom: 4px;
}
.bottom-nav .nav-item.active {
color: #00529c;
}
/* MENU BERITA
/* Container Utama */
.news-list {
display: flex;
flex-direction: column;
gap: 12px;
}
/* Item List Berita */
.news-item {
display: flex;
align-items: center;
gap: 15px;
background: #ffffff;
padding: 12px;
border-radius: 16px;
text-decoration: none;
color: inherit;
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
transition: all 0.2s ease;
border: 1px solid #f1f2f6;
}
.news-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* Thumbnail Gambar */
.news-thumbnail {
width: 85px;
height: 85px;
flex-shrink: 0;
}
.news-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 12px;
}
/* Info Teks */
.news-info {
flex-grow: 1;
}
.news-info h5 {
font-size: 0.80rem;
font-weight: 600;
line-height: 1.4;
margin-bottom: 6px;
color: #2d3436;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.news-meta {
display: flex;
align-items: center;
gap: 12px;
font-size: 0.75rem;
color: #b2bec3;
}
.news-meta div {
display: flex;
align-items: center;
gap: 4px;
}
/* Layout Detail Berita Modern */
.news-detail-container {
max-width: 800px;
margin: 0 auto;
background: #fff;
min-height: 100vh;
padding: 24px;
}
.btn-back {
text-decoration: none;
color: #2d3436;
display: flex;
align-items: center;
gap: 8px;
font-weight: 500;
margin-bottom: 24px;
}
.news-header-meta {
margin-bottom: 24px;
}
.news-tag {
display: inline-block;
background: #f1f2f6;
color: #b2bec3;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.75rem;
margin-bottom: 12px;
}
.news-detail-title {
font-size: 1.2rem;
font-weight: 700;
line-height: 1.3;
color: #2d3436;
margin-bottom: 8px;
}
.news-author-date {
font-size: 0.9rem;
color: #b2bec3;
}
.news-featured-image {
width: 100%;
border-radius: 16px;
margin-bottom: 24px;
object-fit: cover;
max-height: 450px;
}
.news-body {
line-height: 1.8;
color: #636e72;
font-size: 1.05rem;
white-space: pre-line;
text-align: justify;
}
/* === STYLING NAVIGASI DESKTOP === */
.desktop-nav {
display: none; /* Sembunyikan secara default (mobile first) */
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 0 2rem;
}
.desktop-nav .nav-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
height: 65px;
}
.desktop-nav .brand {
font-size: 1.5rem;
font-weight: 700;
color: #4338ca;
text-decoration: none;
}
.desktop-nav .nav-links {
display: flex;
gap: 1.5rem;
}
.desktop-nav .nav-links .nav-item {
text-decoration: none;
color: #333;
font-weight: 500;
padding: 8px 0;
border-bottom: 2px solid transparent;
transition: all 0.3s;
}
.desktop-nav .nav-links .nav-item:hover,
.desktop-nav .nav-links .nav-item.active {
color: #4338ca;
border-bottom-color: #4338ca;
}
/* === LOGIKA RESPONSIVE DENGAN MEDIA QUERY === */
/* Terapkan jika lebar layar 768px atau lebih */
@media (min-width: 768px) {
.desktop-nav {
display: block;
}
.bottom-nav {
display: none;
}
.mobile-container {
max-width: 960px;
padding-bottom: 20px;
margin-top: 2rem;
min-height: 0;
}
.announcement-card {
flex: 0 0 280px;
}
.access-card {
flex: 0 0 150px;
}
}
/* --- CSS UNTUK HALAMAN LOGIN, REGISTER, OTP --- */
.auth-container {
padding: 30px;
text-align: center;
}
.auth-container .header {
display: flex;
align-items: center;
margin-bottom: 25px;
padding: 0;
border-bottom: none;
box-shadow: none;
justify-content: center;
position: relative;
}
.auth-container .header .back-icon {
font-size: 24px;
color: #555;
text-decoration: none;
position: absolute;
left: 0;
}
.auth-container .header h2 {
margin: 0;
font-size: 24px;
font-weight: 600;
}
.auth-container .form-group {
margin-bottom: 15px;
}
.auth-container .form-group input {
width: 100%;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 10px;
font-size: 16px;
box-sizing: border-box;
outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.auth-container .form-group input:focus {
border-color: #6a5acd;
box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.2);
}
.auth-container .btn-primary {
width: 100%;
padding: 15px;
background-color: #6a5acd;
color: white;
border: none;
border-radius: 10px;
font-size: 18px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.auth-container .btn-primary:hover {
background-color: #5345b1;
box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
}
.auth-container .link-text {
display: block;
text-align: center;
margin-top: 20px;
font-size: 14px;
color: #6a5acd;
text-decoration: none;
font-weight: 500;
}
.auth-container .error-message {
color: #e74c3c;
font-size: 13px;
text-align: left;
padding: 0 0 10px 0;
list-style-position: inside;
margin-bottom: 15px;
}
.auth-container .error-message ul {
margin: 0;
padding: 0;
list-style: none;
}
.auth-container .error-message li {
margin-bottom: 5px;
}
.auth-container .status-message {
color: #2ecc71;
font-size: 13px;
text-align: center;
padding-bottom: 10px;
margin-bottom: 15px;
}
.auth-container .otp-info {
text-align: center;
margin: 15px 0 25px 0;
font-size: 14px;
color: #777;
line-height: 1.5;
}
.auth-container .otp-info strong {
color: #333;
}
.auth-container .form-group.otp-input input {
letter-spacing: 15px;
text-align: center;
font-size: 20px;
font-weight: 600;
}
/* ========== LOGIN MODERN ========== */
.login-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100svh;
padding: 30px 20px 50px;
box-sizing: border-box;
}
.login-brand {
text-align: center;
margin-bottom: 28px;
}
.login-logo {
width: 200px;
height: 200px;
object-fit: contain;
filter: drop-shadow(0 6px 16px rgba(0, 82, 156, 0.2));
transition: transform 0.3s ease;
margin-bottom: 8px;
}
.login-logo:hover {
transform: scale(1.05);
}
.login-subtitle {
font-size: 14px;
font-weight: 500;
color: #64748b;
line-height: 1.6;
margin: 0;
letter-spacing: 0.3px;
}
.login-card .login-logo {
display: block;
margin: 0 auto 0;
width: 200px;
height: 130px;
}
.login-card .login-subtitle {
margin: 4px 0 0 0;
line-height: 1.4;
}
/* Card Login */
.login-card {
width: 100%;
max-width: 420px;
background: #ffffff;
border-radius: 20px;
padding: 32px 28px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
animation: fadeInUp 0.5s ease;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.login-title {
margin: 0 0 24px;
font-size: 22px;
font-weight: 700;
color: #1e293b;
text-align: center;
}
/* Alert */
.alert {
padding: 12px 16px;
border-radius: 12px;
font-size: 13px;
font-weight: 500;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
}
.alert-error {
background: #fef2f2;
color: #dc2626;
border: 1px solid #fecaca;
}
.alert-success {
background: #f0fdf4;
color: #16a34a;
border: 1px solid #bbf7d0;
}
/* Input Group */
.input-group {
position: relative;
margin-bottom: 14px;
}
.input-icon {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: 16px;
transition: color 0.3s;
pointer-events: none;
}
.input-group input {
width: 100%;
padding: 14px 16px 14px 46px;
border: 1.5px solid #e2e8f0;
border-radius: 14px;
font-size: 15px;
font-family: "Poppins", sans-serif;
background: #f8fafc;
color: #1e293b;
box-sizing: border-box;
outline: none;
transition: all 0.3s ease;
}
.input-group input:focus {
border-color: #00529c;
background: #ffffff;
box-shadow: 0 0 0 3px rgba(0, 82, 156, 0.1);
}
.input-group input:focus + .input-icon,
.input-group input:focus ~ .input-icon {
color: #00529c;
}
/* Tombol Login */
.btn-login {
width: 100%;
padding: 14px;
background: linear-gradient(135deg, #00529c, #0077cc);
color: white;
border: none;
border-radius: 14px;
font-size: 16px;
font-weight: 600;
font-family: "Poppins", sans-serif;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: all 0.3s ease;
margin-top: 8px;
letter-spacing: 0.3px;
}
.btn-login:hover {
background: linear-gradient(135deg, #003b73, #005a9e);
box-shadow: 0 8px 25px rgba(0, 82, 156, 0.35);
transform: translateY(-2px);
}
.btn-login:active {
transform: scale(0.98);
}
.btn-login i {
transition: transform 0.3s;
}
.btn-login:hover i {
transform: translateX(4px);
}
.login-brand.inside-card {
margin-bottom: 20px;
}
.login-brand.inside-card .login-subtitle {
margin-top: 8px;
}
/* Footer */
.login-footer {
text-align: center;
margin-top: 24px;
font-size: 14px;
color: #64748b;
}
.login-footer a {
color: #00529c;
font-weight: 600;
text-decoration: none;
transition: color 0.3s;
}
.login-footer a:hover {
color: #003b73;
text-decoration: underline;
}
.input-group .toggle-password {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
color: #94a3b8;
font-size: 16px;
transition: color 0.3s;
z-index: 1;
}
.input-group .toggle-password:hover {
color: #00529c;
}
.input-group input[type="password"],
.input-group input[type="text"] {
padding-right: 46px;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
.login-card {
padding: 24px 20px;
border-radius: 16px;
}
.login-card .login-logo {
width: 160px;
height: 90px;
}
.login-title {
font-size: 20px;
}
}
/* --- CSS UNTUK HALAMAN PROFIL --- */
.profile-header {
text-align: center;
padding: 20px 0;
border-bottom: 1px solid #eee;
margin-bottom: 20px;
}
.profile-initials {
width: 90px;
height: 90px;
border-radius: 50%;
background-color: #6a5acd;
color: white;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 36px;
font-weight: 600;
margin-bottom: 15px;
}
.profile-header h4 {
margin: 0 0 5px 0;
font-size: 22px;
font-weight: 600;
}
.profile-header p {
margin: 0 0 15px 0;
color: #888;
font-size: 14px;
}
.edit-profile-btn {
background-color: #f0f0ff;
color: #6a5acd;
border: 1px solid #dadaff;
padding: 8px 20px;
border-radius: 20px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
}
.info-card {
display: flex;
align-items: center;
background-color: #fff;
padding: 15px;
border-radius: 12px;
margin-bottom: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.info-card .icon {
font-size: 20px;
color: #6a5acd;
margin-right: 15px;
width: 25px;
text-align: center;
}
.info-card .info-content p {
margin: 0;
font-size: 13px;
color: #888;
}
.info-card .info-content h5 {
margin: 0;
font-size: 15px;
font-weight: 500;
color: #333;
}
.logout-btn {
display: block;
width: 100%;
text-align: center;
background-color: #ffeef0;
color: #e74c3c;
border: 1px solid #f9d7da;
padding: 12px;
border-radius: 12px;
font-size: 15px;
font-weight: 500;
cursor: pointer;
margin-top: 20px;
}
/* --- CSS UNTUK PERBAIKAN HEADER DESKTOP --- */
.desktop-user-info {
display: flex;
align-items: center;
gap: 15px;
}
.desktop-user-info span {
font-weight: 500;
}
.desktop-logout-btn {
background-color: #fcebeb;
color: #e74c3c;
border: 1px solid #f9d7da;
border-radius: 8px;
padding: 8px 15px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
}
/* Sembunyikan header mobile di tampilan desktop */
@media (min-width: 768px) {
.mobile-header {
display: none;
}
}
/* --- CSS UNTUK HALAMAN FOTO METERAN --- */
.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:.25rem}
.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}
.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}
.upload-container, .status-container {
text-align: center;
padding: 20px;
background-color: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 12px;
}
.upload-container h4, .status-container h4 {
margin-top: 0;
font-size: 1.2rem;
font-weight: 600;
}
.upload-container p, .status-container p {
font-size: 0.9rem;
color: #666;
}
.upload-form { margin-top: 20px; }
.file-label {
display: inline-block;
padding: 12px 20px;
background-color: #4338ca;
color: white;
border-radius: 8px;
cursor: pointer;
margin-bottom: 15px;
transition: background-color 0.3s;
}
.file-label:hover { background-color: #312e81; }
.file-label i { margin-right: 8px; }
input[type="file"] { display: none; }
#image-preview {
max-width: 100%;
height: auto;
margin-top: 15px;
border-radius: 8px;
border: 2px dashed #ccc;
}
.btn-primary-upload {
width: 100%;
padding: 15px;
background-color: #16a34a; /* Green */
color: white;
border: none;
border-radius: 10px;
font-size: 18px;
font-weight: 600;
cursor: pointer;
margin-top: 20px;
transition: background-color 0.3s;
}
.btn-primary-upload:hover { background-color: #15803d; }
.status-container img {
max-width: 100%;
height: auto;
margin-top: 15px;
border-radius: 8px;
border: 1px solid #ddd;
}
.status-badge {
display: inline-block;
padding: 8px 15px;
background-color: #0ea5e9; /* Blue */
color: white;
border-radius: 20px;
margin-top: 20px;
font-weight: 500;
}
.admin-notes {
text-align: left;
margin-top: 20px;
padding: 15px;
background-color: #fffbeb;
border: 1px solid #fef3c7;
border-radius: 8px;
color: #b45309;
}
.input-select {
width: 100%;
padding: 14px 16px 14px 46px;
border: 1.5px solid #e2e8f0;
border-radius: 14px;
font-size: 15px;
font-family: "Poppins", sans-serif;
background: #f8fafc;
color: #1e293b;
box-sizing: border-box;
outline: none;
transition: all 0.3s ease;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
cursor: pointer;
}
.input-select:focus {
border-color: #00529c;
background: #ffffff;
box-shadow: 0 0 0 3px rgba(0, 82, 156, 0.1);
}