html, body {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea,
select {
    background-color: #f3f4f6;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
    border-radius: 0.25rem;
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: none;
    border: none;
    background-color: #e5e7eb;
}

table th {
    background-color: #ffffff;
    color: #6b7280;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td input {
    width: 100%;
    min-width: 120px;
}

@media (max-width: 640px) {
    td input {
        min-width: 120px;
    }

    table th,
    table td {
        padding: 0.5rem;
    }

    .form-input {
        padding: 0.5rem 0.75rem;
    }
}

select.currency-dropdown {
    width: auto;
    max-width: 250px;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
}
select.currency-dropdown:hover {}


.flatpickr-day.selected {
    background-color: #2563EB !important;
    color: white !important;
    border-radius: 50%;
}

.flatpickr-day.today.selected {
    background-color: #2563EB !important;
    color: white !important;
}

.ingen_select_currency{
    flex: 0 1 auto;
}
.invoice-last-action-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ededed;
    padding:1em 0 0;
}
.invoice-last-action-row > * {
    margin: 1em 0;
}

.invoice-last-action-row .invoice-styles-selector-section{
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
}
.invoice-styles-selector-section label {
    margin: 0 10px 0 0;
}
.invoice-styles-selector-section select {
    min-width: 140px;
}
.invoice-last-action-row  #reset-form {
    margin-left:auto;
    margin-right: 10px;
}
.invoice-styles-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 2rem !important;
    background: #f9f9f9;
    padding: 10px 20px;
    border-radius: 12px;
}
.invoice-styles-selector-section {
    flex: 0 1 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    margin-right: 1em;
}
.invoice-logo-selector-section {
    flex: 0 1 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
}
.invoice-logo-selector-section  #logo_preview {
    margin: 0 20px;
}
.invoice-logo-selector-section  #logo_preview img {
    border: 0;
}