.error {
    color: #f00;
}

select.invalid {
    color: #f00;
    border: 1px solid #f00;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.no-margin {
    margin: 0 !important;
}

.margin-5 {
    margin: 5px;
}

.margin-10 {
    margin: 10px;
}

.margin-top-0 {
    margin-top: 0;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-right-0 {
    margin-right: 0;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-left-0 {
    margin-left: 0;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.no-padding {
    padding: 0 !important;
}

.pad-5 {
    padding: 5px;
}

.pad-10 {
    padding: 10px;
}

.pad-20 {
    padding: 20px;
}

.pad-top-0 {
    padding-top: 0;
}

.pad-top-5 {
    padding-top: 5px;
}

.pad-top-10 {
    padding-top: 10px;
}

.pad-right-0 {
    padding-right: 0;
}

.pad-right-5 {
    padding-right: 5px;
}

.pad-right-10 {
    padding-right: 10px;
}

.pad-bottom-0 {
    padding-bottom: 0;
}

.pad-bottom-5 {
    padding-bottom: 5px;
}

.pad-bottom-10 {
    padding-bottom: 10px;
}

.pad-left-0 {
    padding-left: 0;
}

.pad-left-5 {
    padding-left: 5px;
}

.pad-left-10 {
    padding-left: 10px;
}

.pointer {
    cursor: pointer;
}

.strong {
    font-weight: bold;
}

.backtotop {
    bottom: 80px !important;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 0px;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
    margin-right: 2rem;
    padding-right: 2rem;
    height: 2.2rem;
}

select option {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    /*background-color: #4db6ac;*/
}

fieldset legend {
    padding: 0 20px;
}

mat-tooltip-component .mat-tooltip.tooltip {
    font-size: 1.2rem;
    white-space: pre-line;
}

textarea {
    border: 1px solid #9e9e9e;
    height: 100px;
}

.toolbar-btn {
    border: 1px solid #cecece !important;
    background-color: #fff !important;
    margin-right: 5px !important;
}

.toolbar-btn i {
    margin-top: 5px !important;
}

body,
body *,
p {
    font-size: 16px;
}

h1 {
    font-size: 24px;
    margin: 0;
}

h2 {
    font-size: 18px;
    margin: 0;
}

h3 {
    font-size: 14px;
    margin: 0;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    opacity: 0.6;
}

.ui-nav-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ui-nav-box:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

:root {
    --box-accent-blue: #0288D1;
    --box-accent-amber: #c4bc0a;
    --box-accent-green: #43A047;
    --box-accent-purple: #7E57C2;
    --box-accent-red: #E53935;
}

.ui-nav-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.ui-nav-box i {
    font-size: 32px;
    margin: 0 0 15px 0;
    width: 65px;
    height: 65px;
    line-height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-nav-box h2 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #37474F;
    font-weight: 600;
}

.ui-nav-box span {
    font-size: 0.9rem;
    color: #78909C;
    line-height: 1.5;
    display: block;
}

/* Accent Themes - Hover reveals color */
.ui-accent-blue i {
    background-color: rgba(2, 136, 209, 0.1);
    color: var(--box-accent-blue);
}

.ui-accent-blue:hover::before {
    background-color: var(--box-accent-blue);
}

.ui-accent-amber i {
    background-color: rgba(196, 188, 10, 0.1);
    color: var(--box-accent-amber);
}

.ui-accent-amber:hover::before {
    background-color: var(--box-accent-amber);
}

.ui-accent-green i {
    background-color: rgba(67, 160, 71, 0.1);
    color: var(--box-accent-green);
}

.ui-accent-green:hover::before {
    background-color: var(--box-accent-green);
}

.ui-accent-purple i {
    background-color: rgba(126, 87, 194, 0.1);
    color: var(--box-accent-purple);
}

.ui-accent-purple:hover::before {
    background-color: var(--box-accent-purple);
}

.ui-accent-red i {
    background-color: rgba(229, 57, 53, 0.1);
    color: var(--box-accent-red);
}

.ui-accent-red:hover::before {
    background-color: var(--box-accent-red);
}

/* Ensure links don't override the box text color */
.content-wrapper a.dark-text,
.content-wrapper a {
    color: #455A64;
}

nav.fixedtop {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.footer-menu {
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Subscription Plan Cards - Elegant Refresh */
.ui-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.ui-plan-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    border: 1px solid #f0f2f5;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ui-plan-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.ui-plan-card.active {
    border: 2px solid var(--box-accent-blue);
    box-shadow: 0 20px 40px rgba(2, 136, 209, 0.12);
}

.ui-plan-card.active::after {
    content: 'AKTIV';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--box-accent-blue);
    color: #fff;
    padding: 2px 15px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ui-plan-card i {
    font-size: 36px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 20px;
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}



.ui-plan-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 20px 0;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.ui-plan-card h3 b {
    font-weight: 800;
    color: #1a202c;
}

.ui-plan-card .price {
    font-size: 32px;
    font-weight: 800;
    color: #263238;
    margin: 15px 0;
}

.ui-plan-card .price span {
    font-size: 14px;
    color: #90A4AE;
    font-weight: 400;
}

.ui-plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
    text-align: left;
}

.ui-plan-card ul li {
    padding: 10px 0;
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.ui-plan-card ul li::before {
    content: '\F012C';
    /* mdi-check */
    font-family: 'Material Design Icons';
    margin-right: 12px;
    color: #10b981;
    font-size: 18px;
    font-weight: bold;
}

.ui-plan-card .btn-plan {
    margin-top: 20px;
    border-radius: 12px;
    text-transform: none;
    font-weight: 600;
    box-shadow: none !important;
}

.ui-plan-card .chip {
    height: 32px;
    line-height: 32px;
    border-radius: 16px;
    padding: 0 15px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

/* Individual accent colors for plan icons */
.color-blue {
    background-color: rgba(2, 136, 209, 0.08);
    color: var(--box-accent-blue);
}

.color-amber {
    background-color: rgba(196, 188, 10, 0.08);
    color: var(--box-accent-amber);
}

.color-green {
    background-color: rgba(67, 160, 71, 0.08);
    color: var(--box-accent-green);
}

.color-purple {
    background-color: rgba(126, 87, 194, 0.08);
    color: var(--box-accent-purple);
}

/* Modal UI Enhancement */
.modal {
    border-radius: 20px !important;
}

/* Ensure modal footer also follows the radius if at bottom */
.modal .modal-footer {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}