body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
}

.container {
    background: #fff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    width: 100%;
    max-width: 650px;   /* NORMAL FORM WIDTH */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.logo {
    width: 90px;
}

h1 {
    color: #0a3d62;
}

h2, h3 {
    margin-top: 20px;
}

input, textarea, select {
    width: 50%;
    padding: 7px 9px;   /* smaller height */
    margin: 5px 0;      /* tighter spacing */
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

textarea {
    min-height: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}


button {
    background: #0a3d62;
    color: white;
    padding: 10px;
    border: none;
    width: 50%;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}


button:hover {
    background: #065a82;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
}

table th {
    background: #0a3d62;
    color: white;
}

.success-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-box {
    background: #fff;
    width: 90%;
    max-width: 420px; /* Android-friendly width */
    padding: 26px;
    border-radius: 16px;
    text-align: center;
    animation: dropIn 0.6s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.success-box h2 {
    color: #198754;
    margin-bottom: 14px;
    font-size: 22px;
}

.success-box p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

@keyframes dropIn {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}