:root {
    --primary-blue: #4a90e2;
    --dark-bg: #2c3e50;
    --card-bg: #dcdcdc;
    --yellow: #f4e07a;
    --text-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #2c3e50;
    color: white;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #e0e0e0;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 10px;
    margin-top: 5px;
    overflow: hidden;
}

.show {
    display: block !important;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #d0d0d0;
}

.dropdown-content hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    display: none;
    cursor: pointer;
}

.modal-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 400px;
    text-align: center;
    cursor: default;
    position: relative;
    margin: 0;
}

.modal-box button {
    cursor: pointer;
}

.modal-box h2 {
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
    font-size: 1rem;
}

.modal-box p {
    color: black;
    text-align: center;
    margin: 0 auto 10px;
    font-size: 1rem;
    font-weight: bold;
    display: block;
    width: 100%;
    line-height: 1.5;
}

.modal-box p span {
    font-weight: normal;
    display: inline-block;
    padding-left: 5px;
}

.modal-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.error-circle {
    width: 80px;
    height: 80px;
    border: 4px solid black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    font-weight: bold;
    color: black;
    margin: 0 auto 20px;
}

.success-circle {
    width: 80px;
    height: 80px;
    border: 3px solid black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    color: black;
    margin: 0 auto 20px;
}

.success-msg-bold {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    margin-bottom: 20px;
    text-align: center;
}

.modal-text-center {
    text-align: center;
    width: 100%;
    display: block;
}

.btn-approve {
    flex: 1;
    background: #2ecc71;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.btn-reject {
    flex: 1;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.btn-cancel {
    width: auto;
    flex: 1;
    margin-top: 0;
    background: #dcdcdc;
    border: none;
    padding: 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: black;
}

.btn-cancel-full {
    width: 100%;
    margin-top: 10px;
    background: #dcdcdc;
    border: none;
    padding: 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: black;
    font-size: 1rem;
}

.home-btn {
    background-color: #4a90e2 !important;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 15px;
    width: 100%;
}

.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

select:focus {
    outline: none;
    box-shadow: none;
}

/* Tambah kat BAWAH SEKALI dalam globals.css */

@media (max-width: 768px) {
  body {
    font-size: 18px;
  }

  button, .btn {
    padding: 14px 24px;
    font-size: 16px;
    width: 100%;
  }

  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  input, select, textarea {
    font-size: 16px;  /* Elak phone zoom-in auto bila tap input */
    width: 100%;
  }
}