body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    max-width: 400px;
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
}

.tab-container {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    border: 1px solid #ddd;
    cursor: pointer;
    flex: 1;
    text-align: center;
    background-color: #f1f1f1;
    transition: background-color 0.3s;
}

.tab.active {
    background-color: #2d6a4f;
    color: #fff;
    font-weight: bold;
}

.tab:not(.active):hover {
    background-color: #ddd;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

h1 {
    color: #2d6a4f;
    font-size: 26px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

small {
    font-size: 8px;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

input[readonly] {
    background-color: #f1f1f1;
    cursor: not-allowed;
}

button {
    background-color: #2d6a4f;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    text-align: center;
}

button:hover {
    background-color: #1c4f3a;
}

#result {
    margin-top: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #2d6a4f;
    text-align: center;
    line-height: 1.5;
}

#buttons-below-nisab,
#buttons-above-nisab {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

#buttons-above-nisab-maal {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

#buttons-above-nisab-maal {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.reset-button {
    background-color: #fff;
    color: #2d6a4f;
    border: 2px solid #2d6a4f;
    padding: 5px 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    width: 120px;
}

.reset-button:hover {
    background-color: #2d6a4f;
    color: #fff;
}

.action-button {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
}

.sedekah-button {
    background-color: #2d6a4f;
    color: #fff;
    border: 2px solid #2d6a4f;
    padding: 5px 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    text-decoration: none;
}

.sedekah-button:hover {
    background-color: #24a971;
    border: 2px solid #24a971;
}

.zakat-button {
    background-color: #2d6a4f;
    color: #fff;
    border: 2px solid #2d6a4f;
    padding: 5px 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
    text-decoration: none;
}

.zakat-button:hover {
    background-color: #24a971;
    border: 2px solid #24a971;
}