body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}
.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 500px;
}
h2 {
    color: #333;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
    text-align: left;
}
input[type="text"] {
    width: calc(100% - 22px); /* Padding and border included */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}
button:hover {
    background-color: #0056b3;
}
#result-display {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: left;
    min-height: 50px; /* To prevent layout shift */
    /* ডিফল্টভাবে কোনো ব্যাকগ্রাউন্ড ইমেজ থাকবে না */
}

/* যখন রেজাল্ট থাকবে তখন যোগ হবে এই ক্লাস */
.result-background {
    background-image: url("https://lakyit.com/img/Logo-Without-BG-transparent.png"); /* এখানে আপনার ছবির URL যোগ করুন */
    background-size: 50%;
    background-position: center; 
    background-repeat: no-repeat;
    padding: 20px; /* ছবির সাথে কন্টেন্টের ফাঁকা জায়গা */
	margin-top: 50px;
    border-radius: 8px; /* কন্টেইনারের মতো বর্ডার */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* হালকা শ্যাডো */
}

#result-display p {
    margin: 8px 0;
    color: #333;
}
#result-display strong {
    color: #0056b3; /* Darker blue for emphasis */
}
#printButton {
    margin-top: 20px;
    background-color: #28a745; /* Green for print button */
}
#printButton:hover {
    background-color: #218838;
}
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: none; /* Hidden by default */
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media print {
    body * {
        visibility: hidden;
    }
    #result-display, #result-display * {
        visibility: visible;
    }
    #result-display {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
        font-size: 14pt; /* Larger font for printing */
    }
    button {
        display: none; /* Hide buttons when printing */
    }
}



		
		