.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
}

.modal-box {
    position: absolute;
    width: 50%;
    min-width: 310px;
    max-width: 700px;
    overflow-x: hidden;
    height: 87%;
    overflow-y: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px #087040;
    z-index: 4;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    padding-top: 40px;
    box-sizing: border-box;
}

.exit-button {
    position: absolute;
    top: 7px;
    right: 7px;
    background: transparent;
    border: none;
    padding: 2px;
    cursor: pointer;
    font-size: 0%;
    transition: color 0.2s ease, transform 0.2s ease;
}

.exit-button:hover {
    transform: scale(1.2);
}

.exit-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(6, 188, 42, 0.5);
}

.modal-background {
    position: fixed;
    background-color: rgba(9,9,9,0.5);
    backdrop-filter: blur(20px);
    z-index: 3;
    width: 100%;
    height: 100%;
}

.children-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

@media (max-width: 500px) {

    .modal-box {
        position: relative;
        width: 100%;
        height: 100%;
        transform: none;
        min-width: 0;
        max-width: 10000px;
        border-radius: 0px;
        left: auto;
        top: auto;
    }

    .exit-button {
        right: 13px;
    }
}


.account-menu-wrapper-standalone {
    position: relative;
    top: 0px;
    right: 0px;
}

.payment-intro-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin: 0px 25px;
}

.package-selection-header {
    margin-bottom: 10px;
    margin-left: 8px;
    width: 100%;
    font-size: 14px;
    color: rgb(48, 49, 61);
    font-weight: 400;
}

.subscription-choice-wrapper {
    width: 292px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.subscription-choice {
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 47%;
    height: 200px;
    border: 2px solid #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.subscription-choice-selected {
    border-color: #17A170; /* Light green border */
    background-color: #e8f5e9; /* Very light green background */
    box-shadow: 0 0 10px rgba(23, 161, 112, 0.6); /* Green glow */
    transform: scale(1.03); /* Slight zoom for emphasis */
}

.account-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Modern Hamburger Menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.hamburger-menu:hover {
    background-color: rgba(23, 161, 112, 0.1);
    transform: scale(1.05);
}

.hamburger-menu:active {
    transform: scale(0.95);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation - Active State */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Account Menu Dropdown */
.account-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: left;
    top: 44px;
    right: 0px;
    z-index: 100;
    background: var(--secondary-background);
    border-radius: 0 0 0 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-right: none;
    overflow: hidden;
    min-width: 140px;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-menu span {
    cursor: pointer;
    background-color: transparent;
    color: var(--paragraph);
    padding: 12px 16px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.account-menu span:last-child {
    border-bottom: none;
}

.account-menu span:hover {
    background-color: var(--primary);
    color: var(--contrast-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
    }
    
    .account-menu {
        min-width: 120px;
    }
    
    .account-menu span {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}


/* Settings Window Container */
.settings-window {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--secondary-background);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Section Headers */
.settings-section-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading);
    margin: 40px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
    position: relative;
}

.settings-section-header:first-child {
    margin-top: 0;
}

.settings-section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

/* Section Content */
.settings-section {
    margin-bottom: 40px;
    padding: 24px;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.settings-section:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(23, 161, 112, 0.1);
}

/* Buttons */
.settings-button {
    font-size: 1rem;
    font-weight: 600;
    color: var(--contrast-text);
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 12px;
    margin-bottom: 12px;
    min-width: 120px;
}

.settings-button:hover {
    background-color: var(--primary-button-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 161, 112, 0.3);
}

.settings-button:active {
    background-color: var(--primary-button-click);
    transform: translateY(0);
}

.settings-button.secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.settings-button.secondary:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.settings-button.danger {
    background-color: #dc3545;
    color: white;
}

.settings-button.danger:hover {
    background-color: #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Close Button */
.settings-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.settings-close-button:hover {
    color: var(--primary);
    background-color: var(--secondary);
}

/* Account Management Section */
.accounts-remove-section {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    border: 1px solid #e0e0e0;
}

.accounts-remove-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 16px;
}

.accounts-remove-subheader {
    font-size: 0.9rem;
    color: var(--secondary-paragraph);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Member/Account Items */
.member-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.member-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(23, 161, 112, 0.1);
}

.member-checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.member-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: var(--primary);
}

.settings-window-member-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--heading);
    margin: 0;
}

.settings-window-indented-accounts-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-paragraph);
    margin: 16px 0 8px 30px;
    display: block;
}

.accounts-list {
    margin-left: 30px;
}

.settings-window-indented-account-name {
    display: flex;
    align-items: center;
    margin: 4px 0;
    font-size: 0.9rem;
    color: var(--paragraph);
}

.settings-window-account-type {
    margin-left: 8px;
    color: #6c757d;
    font-size: 0.8rem;
    font-style: italic;
}

/* Password Change Section */
.password-change-section {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    border: 1px solid #e0e0e0;
}

.password-requirements {
    background-color: var(--secondary);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    border-left: 4px solid var(--primary);
}

.new-password-span {
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 8px;
    display: block;
}

.new-password-list {
    margin: 0;
    padding-left: 20px;
}

.new-password-list li {
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: var(--secondary-paragraph);
}


/* Payment Method Section */
.payment-method-section {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    border: 1px solid #e0e0e0;
}

.payment-method-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 8px;
}

.payment-method-subheader {
    font-size: 0.9rem;
    color: var(--secondary-paragraph);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Delete Account Section */
.delete-account-section {
    background-color: #fff5f5;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    border: 1px solid #fed7d7;
}

.delete-account-warning {
    background-color: #fed7d7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border-left: 4px solid #dc3545;
    color: #742a2a;
    font-weight: 500;
}

/* Form Elements */
.credentials-form {
    width: 100%;
}

.credentials-form label {
    display: block;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.credentials-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.credentials-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(23, 161, 112, 0.1);
}

.credentials-form input.error {
    border-color: #dc3545;
}

/* Error Messages - now handled by global .form-error in App.css */

/* Button Groups */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .settings-window {
        padding: 20px 16px;
        margin: 0;
        border-radius: 0;
    }
    
    .settings-section {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .settings-button {
        width: 100%;
        margin-right: 0;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .settings-close-button {
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .settings-window {
        padding: 16px 12px;
    }
    
    .settings-section-header {
        font-size: 1.3rem;
        margin: 24px 0 16px 0;
    }
    
    .member-item {
        padding: 12px;
    }
    
    .accounts-remove-section,
    .password-change-section,
    .payment-method-section,
    .delete-account-section {
        padding: 16px;
    }
}


/* Modern Filter Component Styling */

.transaction-toolbar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.filter-settings {
    width: 100%;
    height: 100%;
    background: var(--background);
    padding: 20px;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
}

.transaction-toolbar-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Saved Views Section */
.transaction-toolbar-section-header {
    background: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--heading);
    padding: 20px 20px 15px 20px;
    border-bottom: 3px solid var(--primary);
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: inset 5px 0 8px -5px #000;
    user-select: none;
}

.transaction-toolbar-section-header:hover {
    background: var(--primary);
    color: var(--contrast-text);
    transform: translateY(-1px);
    box-shadow: inset 5px 0 8px -5px #000, 0 4px 12px rgba(0, 0, 0, 0.15);
}

.transaction-toolbar-section-header:active {
    transform: translateY(0);
    box-shadow: inset 5px 0 8px -5px #000, 0 2px 6px rgba(0, 0, 0, 0.1);
}

.transaction-toolbar-section-header-first {
    box-shadow: inset 0 4px 8px -5px #000;
}

/* Enhanced arrow styling for section headers */
.transaction-toolbar-section-header span:last-child {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.transaction-toolbar-section-header:hover span:last-child {
    opacity: 1;
    transform: scale(1.1);
}

.transaction-toolbar-section-header:active span:last-child {
    transform: scale(0.95);
}

.transaction-toolbar-section-body {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom:20px;
    width:100%;
    background-color:white;
    box-shadow:inset 5px 0 8px -5px #000, inset 0 4px 8px -5px #000;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.saved-filter-list-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.view-interface {
    margin: 8px 0;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 90%;
}

.view-interface:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.view-interface-apply {
    background: var(--primary);
    cursor: pointer;
    padding: 12px 16px;
    border: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin: 0;
    transition: all 0.3s ease;
    color: var(--contrast-text);
    font-weight: 500;
}

.view-interface-apply:hover {
    background: var(--primary-button-hover);
    transform: scale(1.02);
}

.view-interface-apply-applied {
    background: var(--primary);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(23, 161, 112, 0.4);
}

.view-interface-apply-applied:hover {
    background: var(--primary-button-hover);
}

.filter-interface-name {
    margin-left: 8px;
    font-size: 1.1em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 250px;
    font-weight: 500;
    flex-shrink: 1;
}

.view-gear-icon-wrapper {
    display: flex;
    align-items: center;
    align-self: stretch;
    border-left: 1px solid gray;
    flex-shrink: 0;
}

.view-gear-icon {
    height: 20px;
    width: 20px;
    margin: 0 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.view-gear-icon:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Create Filter Button */
.create-filter-button-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.create-filter-button {
    background: var(--primary);
    color: var(--contrast-text);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 161, 112, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.create-filter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 161, 112, 0.6);
    background: var(--primary-button-hover);
}

.create-filter-button:active {
    transform: translateY(0);
}

.filters-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.filter-section {
    margin-bottom: 20px;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s ease;
    width: 90%;
}

.filter-section:hover {
    box-shadow: none;
    border-color: transparent;
}

.filter-section-header {
    background: var(--primary);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--contrast-text);
    transition: all 0.3s ease;
    border-bottom: 1px solid #e1e8ed;
    border-radius: 8px 8px 0 0;
}

.filter-section-header:hover {
    background: var(--primary-button-hover);
    color: var(--contrast-text);
}

.filter-section-header-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-section-body {
    padding: 20px;
    background: var(--secondary-background);
    animation: slideDown 0.3s ease-out;
    border-radius: 0 0 8px 8px;
    border: 1px solid #e1e8ed;
    border-top: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Elements */
.filter-section-body label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    margin-left: 5px;
    font-weight: 500;
    color: var(--heading);
    font-size: 0.95em;
    gap: 5px;
}

.filter-section-body input[type="text"],
.filter-section-body input[type="date"],
.filter-section-body input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.filter-section-body input[type="text"]:focus,
.filter-section-body input[type="date"]:focus,
.filter-section-body input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--secondary-background);
    box-shadow: 0 0 0 3px rgba(23, 161, 112, 0.1);
}

.filter-section-body input[type="radio"] {
    margin: 0;
    transform: scale(1.2);
    accent-color: var(--primary);
}

.filter-section-body button {
    background: var(--primary);
    color: var(--contrast-text);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 5px;
}

.filter-section-body button:hover {
    background: var(--primary-button-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 161, 112, 0.3);
}

/* Text Filter Strings */
.text-filter-string {
    background: var(--primary);
    color: var(--contrast-text);
    margin: 5px;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(23, 161, 112, 0.3);
    transition: all 0.3s ease;
}

.text-filter-string:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 161, 112, 0.4);
}

.text-filter-string span:last-child {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.text-filter-string span:last-child:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Error States - now handled by global .form-error in App.css */

.text-input-error {
    border-color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.05) !important;
}

/* Modal Styling */
.create-view-modal-child,
.change-view-modal-child {
    background: var(--secondary-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px 2px #087040;
    max-width: 500px;
    width: 90%;
}

.create-view-modal-child h3,
.change-view-modal-child h3 {
    color: var(--heading);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
}

/* Section Expansion Animation */
.section-body-expanded {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

.section-body-collapsed {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    padding-top: 0;
    padding-bottom: 0;
}

/* Enhanced form styling for modals */
.create-view-modal-child label,
.change-view-modal-child label {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 12px;
    text-align: center;
}

.create-view-modal-child input[type="text"],
.change-view-modal-child input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 25px;
    box-sizing: border-box;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.create-view-modal-child input[type="text"]:focus,
.change-view-modal-child input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--secondary-background);
    box-shadow: 0 0 0 3px rgba(23, 161, 112, 0.1);
}

.create-view-modal-child button,
.change-view-modal-child button {
    background: var(--primary);
    color: var(--contrast-text);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin: 8px 0;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.create-view-modal-child button:hover,
.change-view-modal-child button:hover {
    background: var(--primary-button-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 161, 112, 0.3);
}

.create-view-modal-child button:last-child,
.change-view-modal-child button:last-child {
    background: #95a5a6;
    margin-top: 15px;
}

.create-view-modal-child button:last-child:hover,
.change-view-modal-child button:last-child:hover {
    background: #7f8c8d;
}

/* Error styling for modals - now handled by global .form-error in App.css */

/* Full Page Loader */
.full-page-loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-settings {
        padding: 15px;
    }
    
    .transaction-toolbar-section-header {
        font-size: 1.5em;
    }
    
    .filter-interface-name {
        max-width: 180px;
        font-size: 1em;
    }
    
    .view-interface-apply {
        padding: 10px 12px;
    }
    
    .filter-section-header {
        font-size: 1.1em;
        padding: 12px 16px;
    }
    
    .filter-section-body {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .filter-settings {
        padding: 10px;
    }
    
    .filter-interface-name {
        max-width: 140px;
        font-size: 0.9em;
    }
    
    .view-gear-icon {
        height: 16px;
        width: 16px;
        margin: 0 8px;
        padding: 6px;
    }
    
    .create-filter-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}
.transactions {
    display: flex;
    justify-content: space-between;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.transaction-filter {
    position: sticky;
    top: 60px;
    left:0px;
    height: calc(100vh - 60px);
    width: 260px;
    box-shadow:inset 5px 0 8px -5px #000, inset 0 4px 8px -5px #000;
    background-color: var(--secondary-background);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f0f0f0;
}

.transaction-filter::-webkit-scrollbar {
    width: 8px;
}

.transaction-filter::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.transaction-filter::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.transaction-filter::-webkit-scrollbar-thumb:hover {
    background: var(--primary-button-hover);
}

.transaction-data-container {
    display: flex;
    flex-direction: column;
    width: calc(100% - 260px);
    float: right;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f0f0f0;
    padding: 0 20px;
    box-sizing: border-box;
    background: var(--secondary-background);
    box-shadow:inset 3px 0 8px -5px #000,inset -5px 0 8px -5px #000, inset 0 5px 8px -5px #000;
}

.transaction-data-container::-webkit-scrollbar {
    width: 8px;
}

.transaction-data-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.transaction-data-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.transaction-data-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-button-hover);
}

.transaction-table-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.transaction-no-data-message {
    padding-top: 30px;
}

.transaction-data-container table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--secondary-background);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary);
}

.transaction-data-container th {
    background: var(--primary);
    color: var(--contrast-text);
    font-weight: 700;
    font-size: 1.1em;
    padding: 16px 12px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.transaction-data-container th:hover {
    background: var(--primary-button-hover);
    cursor: pointer;
}

.transaction-data-container td {
    padding: 14px 12px;
    border: none;
    border-bottom: 1px solid #e1e8ed;
    background: var(--secondary-background);
    transition: all 0.2s ease;
    font-size: 0.95em;
}

.transaction-data-container tr:hover td {
    background: var(--secondary);
}

.transaction-data-container tr:last-child td {
    border-bottom: none;
}

/* Special styling for amount column */
.transaction-data-container td:nth-child(4) {
    font-weight: 600;
    font-family: 'Courier New', monospace;
    text-align: right;
}

/* Alternating row colors for better readability */
.transaction-data-container tr:nth-child(even) td {
    background: rgba(231, 244, 239, 0.3);
}

.transaction-data-container tr:nth-child(even):hover td {
    background: var(--secondary);
}

/* Responsive table */
@media (max-width: 768px) {
    .transaction-data-container table {
        font-size: 0.9em;
    }
    
    .transaction-data-container th,
    .transaction-data-container td {
        padding: 10px 8px;
    }
}

.transaction-loader-wrapper {
    padding-top: 50px;
    width: 100px;
    height: 100px;
}

.transaction-table-wrapper th {
    cursor: pointer;
}

.transaction-table-wrapper th:hover {
    background-color: black;
    color: white;
}

/* Cash Flow Summary Styling */
.transaction-overview-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    background: var(--secondary-background);
    border-radius: 12px;
    margin-bottom: 20px;
    gap: 20px;
    box-sizing: border-box;
}

.transaction-cash-flow-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 20px;
    background: var(--secondary);
    border-radius: 10px;
    border: 2px solid var(--primary);
    text-align: center;
    transition: all 0.3s ease;
    margin: 0;
    min-width: 0;
}

.transaction-cash-flow-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 161, 112, 0.2);
}

.transaction-cash-flow-wrapper span:first-child {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transaction-cash-flow-wrapper span:last-child {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Independent scrolling only on desktop */
@media (min-width: 768px) {
    .transactions {
        height: calc(100vh - 60px);
        overflow: hidden;
    }
    
    .transaction-filter {
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .transaction-data-container {
        overflow-y: auto;
        overflow-x: hidden;
    }
}

/* Mobile: disable independent scrolling */
@media (max-width: 767px) {
    .transactions {
        height: auto;
        overflow: visible;
    }
    
    .transaction-filter {
        overflow: visible;
        position: relative;
        top: auto;
        height: auto;
        width: 100%;
        border-right: none;
        border-bottom: 4px solid black;
    }
    
    .transaction-data-container {
        overflow: visible;
        width: 100%;
        float: none;
    }
    
    .transaction-overview-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .transaction-cash-flow-wrapper {
        width: 100%;
        padding: 15px;
    }
    
    .transaction-cash-flow-wrapper span:first-child {
        font-size: 1.1em;
    }
    
    .transaction-cash-flow-wrapper span:last-child {
        font-size: 2em;
    }
}

.new-rule-checkbox-label {
    display: block;
}

.rule-creator-section > div, .rule-creator-section > input, .rule-creator-section > span {
    margin-left: 20px;
}

.rule-creator-section label {
    display: inline;
    margin-left: 10px;
}

.rule-creator-checkbox-sub-section {
    margin-bottom: 10px;
}

.rule-creator-section > .rule-creator-clause-sub-section {
    margin-left: 44px;
    margin-bottom: 18px;
}

.text-rule-string-tag {
    background-color: grey;
    margin-right: 5px;
    margin-bottom: 2px;
}
.rule-reader-phrase-wrapper {
    display: block;
}

.rule-reader-text {
    display: inline;
}

.rule-reader-account-name {
    color: green;
}

.rule-reader-invalid-account-name {
    color: red;
}
.rules-page-wrapper {
    padding: 30px;
}

.new-rule-creation-button {
    font-size: 1.5em;
    padding: 10px;
    margin: 30px 0px;
}

.new-rule-creation-button:hover {
    background-color: #5ea276;
    font-size: 1.5em;
    padding: 10px;
    margin: 30px 0px;
    border: none;
}

.rule-list-group {
    width: calc(100% - 100px);
    margin-bottom: 20px;
}

.rule-list-group > div {
    padding: 20px;
}

.rule-list-heading {
    background-color: #4e9266;
    font-size: 1.5rem;
    border: solid black 2px;
    cursor: pointer;
}
.rule-list-heading:hover {
    background-color: #5eb276;
}

.rule-list-name {
    font-weight: 800;
}

.rule-list-expanded {
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
    background-color: #aaffaa;
}

.rule-list-settings-button {
    margin-right: 20px;
}
.header {
    z-index: 1;
    height: 60px;
    background-color: var(--secondary-background);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-left {
    display: flex;
    align-items: center;
    padding-left: 10px;
    margin-right: 161px;
}

.header-center {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-right {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.nav-logo-image {
    height: 40px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.nav-logo-image:hover {
    opacity: 0.8;
}

.add-inst-button {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05rem;
    color: var(--primary);
    background-color: var(--secondary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    margin-right: 10px;
}

.add-inst-button:hover {
    background-color: var(--primary);
    color: var(--contrast-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 161, 112, 0.3);
}

.add-inst-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(23, 161, 112, 0.3);
}

.add-inst-button::before {
    content: "+";
    top: -2px;
    right: 6px;
    position: relative;
    font-size: 16px;
    font-weight: 700;
}

.feature-tabs {
    background: var(--secondary-background);
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    height: 40px;
    padding: 0px;
}

.feature-tabs div {
    padding: 0 23px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-paragraph);
    position: relative;
    transition: all 0.2s ease;
    min-width: 80px;
}

.feature-tabs div:hover {
    color: var(--primary);
    background-color: rgba(23, 161, 112, 0.05);
}

.feature-tabs div::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.feature-tabs div:hover::after {
    width: 60%;
}

div.selected-feature-tab {
    background-color: transparent;
    color: var(--primary);
    font-weight: 600;
}

div.selected-feature-tab::after {
    width: 80%;
}

.institution-loader-wrapper {
    padding-top: 50px;
    width: 100px;
    height: 100px;
}

.widget-loading-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.widget-loading-content > p {
    max-width: 70%;
    text-align: center;
}

.dont-autoshow-text {
    margin-bottom: 40px;
    display: inline-block;
}

button.done-adding-institutions {
    margin-top: 35px;
    margin-bottom: 30px;
}
.password-input-toggle-wrapper {
    position: absolute;
    top: 3px;
    right: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 84%;
}

.password-input-toggle-button {
    height: 100%;
    width: 100%;
    cursor: pointer;
    position: relative;
    z-index: 2;
    background-color: white;
    border: none;
    border-radius: 2px;
}

.password-input-eye-svg-wrapper {
    display: inline-block;
    height: 100%;
    width: 100%;
}

.password-input-eye-svg-wrapper > svg {
    height: 100%;
    width: 100%;
}




/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }
@font-face {
    font-family: "Alata";
    src: url(assets/Alata-Regular.ttf);
}

:root {
    --primary: #17A170;
    --secondary: #E7F4EF;
    --dark: #000000;

    --primary-button-hover: #20A878;
    --primary-button-click: #25AE7F;
    --inverted-button-hover: #F6F6F6;
    --inverted-button-click: #EEEEEE;
    --secondary-inverted-button-hover: #E0F0E7;
    --secondary-inverted-button-click: #D9E7E0;

    --background: #F2F2F2;
    --secondary-background: #FFFFFF;

    --heading: #000000;
    --paragraph: #000000;
    --secondary-paragraph: #484848;

    --contrast-text: #FFFFFF;

    --dark-gradient: linear-gradient(72.97deg, #17A170 14.98%, #1D3713 83.57%);
    --medium-gradient: linear-gradient(84.22deg, #17A170 19.05%, #FFFFFF 190.74%);
    --light-gradient: linear-gradient(149.36deg, #82C6AE -0.38%, #C0D0DF 123.27%);
}

* {
    font-family: "Roboto","Helvetica","Arial",sans-serif;
}

html {
    max-width: 2000px;
}

html, body {
    margin: 0;
    min-height: 100vh;
    overscroll-behavior: none;
}

body > * {
    min-height: 100vh;
}

.hidden {
    display: none;
}

.app-wrapper {
    min-height: 100vh;
    background-image: var(--medium-gradient);
}

nav {
    width: 100vw;
    height: 68px;
    background-color: #ffffff;
    position: sticky;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.nav-border {
    width: 100vw;
    height: 1px;
    background-color: black;
}

nav ul {
    display: flex;
    justify-content: left;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding-left: 10px;
    padding-top: 7px;
}

nav ul a {
    font-size: 1.3em;
    text-decoration: none;
    color: black;
    padding-right:45px
}

label {
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 2px;
}

.highlighted {
    color: var(--primary);
}

.form-label {
    display: block;
}

form input[type=text], form input[type=password], form input[type=email] {
    border-radius: 3px;
    padding: 10px;
    border: 1px solid black;
}

.full-page-loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(200, 200, 200, .5);
    z-index: 4;
}

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 8px 0;
    display: block;
    padding: 8px 12px;
    background-color: #fff5f5;
    border-radius: 6px;
    border-left: 3px solid #dc3545;
}

/* Special styling for password list items */
.new-password-list li.form-error {
    color: #dc3545;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    margin: 4px 0;
}

/* Modal-specific error styling */
.create-view-modal-child .form-error,
.change-view-modal-child .form-error {
    margin: 8px 0 15px 0;
    padding: 10px 15px;
}

.text-input-error {
    background-color: #ff7777;
}

.stripe-form-error {
    color: #df1b41;
    font-size: 1.1rem;
    display: block;
    margin: 10px 0px;
}

.credential-section-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
}

.form-header {
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 80%;
    text-align: center;
}

.form-header-with-secondary {
    margin-bottom: 10px
}

.form-header-secondary {
    margin-top: 0px;
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 50%;
    text-align: center;
}

.form-header-trinary {
    margin-top: 0px;
    margin-bottom: 17px;
    font-weight: 500;
    max-width: 80%;
    text-align: center;
    color: #666;
}

.last-header {
    margin-bottom: 50px;
}

.email-name {
    color: var(--primary);
}

.credentials-form-wrapper {
    background-color: white;
    width: 100%;
    max-width: 470px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0px 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px #087040;
    margin: 40px;
}

.credentials-form {
    width: 85%;
    margin-bottom: 20px;
}

.credentials-form > * {
    margin-bottom: 25px;
}

.grayed-out {
    color: #999999
}

.subtext {
    margin-top: 20px;
    font-size: 0.8rem;
}

.block {
    display: block;
}

.wide-input {
    width: 200px;
}

.new-password-span {
    margin-top: 10px;
    display: block;
}

.new-password-list {
    margin: 0px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.indented-form-message {
    margin-left: .5rem;
    font-size: .8rem;
    display: block;
}

.credentials-form-input {
    width: 100%;
    box-sizing: border-box;
}

.password-input-wrapper {
    position: relative;
}

.password-form-input {
    padding-right: 35px;
}

.form-button-wrapper {
    display: flex;
    justify-content: center;
}

button.form-button {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.115rem;
    color: var(--contrast-text);
    background-color: var(--primary);
    border-radius: 40px;
    padding: 14px 30px;
    border: none;
    cursor: pointer;
    width: 100%;
}

button.standalone-button {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.115rem;
    color: var(--contrast-text);
    background-color: var(--primary);
    border-radius: 40px;
    padding: 14px 30px;
    border: none;
    cursor: pointer;
}

button.form-button:hover, button.standalone-button:hover {
    background-color: var(--primary-button-hover);
}

.switch-auth-form {
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: underline;
}

.switch-auth-form:hover {
    color: var(--primary)
}

.clickable-link {
    cursor: pointer;
    margin-bottom: 20px;
    color: var(--primary);
}

.clickable-link:hover {
    text-decoration: underline;
}

.expandable-wrapper-wrapper {
    max-width: 90%;
}

.expandable-wrapper {
    flex-direction: row;
}

.expandable-text {
    cursor: pointer;
    margin-bottom: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.expandable-text:hover {
    text-decoration: underline;
}

.password-instructions {
    transition: all 800ms ease;
    color: #777777;
    height: 80px;
    transform: scaleY(1);
    margin-top: 25px;
}

.non-transitioned-password-instructions, .non-transitioned-password-instructions * {
    height: 0px;
    overflow: hidden;
    margin: 0;
    color: white;
    transform: scaleY(0);
}

.form-input-half-width-wrapper {
    display: flex;
    justify-content: space-between;
}

.account-menu-wrapper-standalone {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.below-stripe {
    margin-top: 30px;
}

.modal-text {
    width: 80%;
    max-width: 425px;
    text-align: center;
}

.with-checkbox {
    margin-left: 10px;
    text-align: left;
}

@media (max-width: 500px) {
    .app-wrapper {
        background-image: none;
    }

    .credentials-form-wrapper {
        border-radius: 0px;
        box-shadow: none;
        margin: 0px;
    }
}

@media (max-width: 740px) {

    nav ul {
        display: none;
    }
}

