/* styles.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Inter', sans-serif;
    text-align: center;
    background-color: #F8F9FA;
    width: 100vw;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Main Container */
.container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    transform: translateY(-10%);
    padding-bottom: 80px;
    overflow: auto;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header Text */
.header-text {
    font-size: 46px;
    font-weight: 700;
    color: #004D32;
    line-height: 1.1;
    margin-bottom: 15px;
    transition: all 0.5s ease-in-out;
}

/* Description Text */
.description {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    max-width: 80%;
    line-height: 1.5;
    margin-bottom: 30px;
    transition: all 0.5s ease-in-out;
}

/* CNIC Input Field */
.cnic-input {
    width: 85%;
    max-width: 280px;
    padding: 12px;
    margin: 8px auto;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    border: 2px solid #004D32;
    text-align: center;
    outline: none;
}

.cnic-input::placeholder {
    color: #999;
}

/* Verify Button */
.btn {
    display: block;
    width: 85%;
    max-width: 280px;
    padding: 12px;
    margin: 8px auto;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    border: 2px solid #004D32;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.primary {
    background-color: #004D32;
    color: white;
}

.primary:hover {
    background-color: #003320;
}

/* License Details Section */
.details {
    display: none;
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: left;
    width: 85%;
    max-width: 280px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.details p {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.details p strong {
    font-weight: 700;
}

/* No Record Found Message */
.no-record {
    display: none;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: white;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
}

.footer-text {
    font-size: 10px;
    color: #333;
    margin-bottom: 8px;
}

.footer-logo img {
    width: 75px;
    margin-top: 12px;
}