/* Global Styles */
body {
    font-family: Poppins, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: 600px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    padding: 20px;
}

.container .actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.container .actions button {
    flex: 1;
    max-width: 200px;
}

/* Modal Content */
.modal-content {
    padding: 20px;
}

/* Textarea */
textarea {
    width: 100%;
    height: 150px;
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}

textarea:focus {
    outline: 0;
    border-color: #0d6efd;
}

/* Buttons */
button {
    padding: 10px 20px;
    font-size: 13px;
    color: #fff;
    background-color: #0d6efd;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

button:hover {
    background-color: #0a58ca;
}

button i {
    margin-right: 8px;
}

button.center {
    margin: 20px 10px;
}

/* Button Groups */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.btn-group.show {
    opacity: 1;
}

.btn-group button {
    flex: 1;
}

/* Result Table */
.result-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.result-table td, .result-table th {
    padding: 8px;
    border: 1px solid #dee2e6;
    text-align: center;
}

/* Heading */
h1 {
    font-weight: 600;
    display: inline-block;
    position: relative;
}

/* Help Icon */
#helpIcon {
    margin-left: 10px;
    cursor: pointer;
    color: #0d6efd;
    font-size: 18px;
}

#helpIcon:hover {
    color: #0056b3;
}

/* Flex Center */
.center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}