#sepaconverter-wrapper {
    font-family: Graphik, sans-serif;
}

.sc-cards-container {
    display: flex;
    justify-content: space-between;
    gap: 15px; /* Reduced gap for 4 cards */
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.sc-card {
    flex: 1;
    min-width: 150px; /* Ensure cards don't get too small */
    background: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.sc-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: #f9f9f9;
}

.sc-card.active {
    border-color: #0073aa;
}

.sc-icon {
    font-size: 2em;
    margin-top: 10px;
}

.sc-small {
    font-size: 0.8em;
}

@media (max-width: 600px) {
    .sc-cards-container {
        flex-direction: column;
    }
    .sc-card {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* Modal */
.sc-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.sc-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 500px;
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

.sc-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.sc-close:hover,
.sc-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.sc-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.sc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.sc-form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.sc-form-actions {
    text-align: center;
    margin-top: 20px;
}

button#sc-submit-btn {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button#sc-submit-btn:hover {
    background-color: #005177;
}
