/* Custom CSS for Verify Search Page - verify_search.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
        url('../../img/bg.avif') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

.container-verify {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-verify {
    padding: 15px 0;
    margin-bottom: 10px;
}

.btn-back {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid #D4AF37;
    color: #D4AF37;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.btn-back:hover {
    background: #D4AF37;
    color: #000;
    text-decoration: none;
}

.main-content-verify {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.verify-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.verify-title {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 2rem;
}

.verify-subtitle {
    color: #D4AF37;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.certificate-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #D4AF37;
    color: white;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    font-size: 16px;
}

input::placeholder {
    color: #999 !important;
    opacity: 1;
}

.certificate-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFD700;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    color: white;
    outline: none;
}

.btn-verify {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-verify:active {
    transform: translateY(0);
}

.btn-verify:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.info-box {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid #D4AF37;
    padding: 15px;
    margin-top: 30px;
    text-align: left;
    border-radius: 5px;
}

.info-box h6 {
    color: #FFD700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box ul {
    color: #ccc;
    padding-left: 20px;
    margin-bottom: 0;
}

.info-box li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
    border-radius: 5px;
    color: #ff6b6b;
    display: none;
    width: 100%;
}

.error-message i {
    margin-right: 8px;
}

footer {
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
    width: 100%;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container img {
    max-height: 100px;
    height: auto;
    width: auto;
}

.form-group {
    width: 100%;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #aaa;
    font-size: 0.85rem;
}

/* ============ RESPONSIVE BREAKPOINTS ============ */

/* Tablet */
@media (min-width: 768px) {
    .container-verify {
        padding: 30px;
    }

    .btn-verify {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .certificate-input {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

    .verify-card {
        padding: 40px 50px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .container-verify {
        padding: 40px;
    }

    .btn-verify {
        width: 300px;
    }

    .certificate-input {
        width: 60%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .container-verify {
        padding: 15px;
    }

    .verify-card {
        padding: 25px 20px;
    }

    .verify-title {
        font-size: 1.8rem;
    }

    .logo-container img {
        max-height: 80px;
    }

    .info-box {
        padding: 15px 12px;
    }

    .info-box ul {
        padding-left: 15px;
    }

    .btn-back {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
        display: flex;
    }

    .header-verify {
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container-verify {
        padding: 10px;
    }

    .verify-card {
        padding: 20px 15px;
    }

    .verify-title {
        font-size: 1.6rem;
    }

    .logo-container img {
        max-height: 70px;
    }

    .certificate-input {
        padding: 10px;
        font-size: 15px;
    }

    .btn-verify {
        padding: 12px 20px;
        font-size: 15px;
        min-height: 46px;
    }

    .btn-back {
        padding: 8px 15px;
        font-size: 15px;
    }

    .info-box {
        padding: 12px 10px;
        margin-top: 20px;
    }

    footer {
        padding: 15px 0;
        font-size: 0.85rem;
    }
}

/* Very Small Mobile */
@media (max-width: 375px) {
    .verify-title {
        font-size: 1.4rem;
    }

    .logo-container img {
        max-height: 60px;
    }

    .certificate-input {
        font-size: 14px;
        padding: 8px;
    }

    .btn-verify {
        padding: 10px 15px;
        font-size: 14px;
        min-height: 44px;
    }

    .btn-back {
        font-size: 14px;
    }

    .info-box h6 {
        font-size: 0.95rem;
    }

    .info-box li {
        font-size: 0.85rem;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .container-verify {
        padding: 15px;
    }

    .main-content-verify {
        padding: 0;
    }

    .verify-card {
        padding: 20px;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    .logo-container img {
        max-height: 70px;
    }

    .verify-title {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .certificate-input {
        padding: 8px;
    }

    .btn-verify {
        padding: 10px 20px;
        margin-top: 10px;
    }

    .info-box {
        margin-top: 20px;
        padding: 12px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .btn-back,
    .btn-verify,
    .certificate-input {
        transition: none;
    }

    .btn-verify:hover {
        transform: none;
    }
}

.footer {
    background: #0b0b0b;
    color: #d6d6d6;
    padding: 28px 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: center;
}

.footer-brand {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 15px;
    color: #d4af37;
    margin-bottom: 16px;
}

.footer-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    font-size: 14px;
}

.footer-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-details i {
    font-size: 18px;
}

.text-gold {
    color: #d4af37;
}

.footer-details a {
    color: #fdfdfd;
    text-decoration: none;
}

.footer-details a:hover {
    color: #d4af37;
    text-decoration: underline;
}