﻿
    body {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f8fafd;
        font-family: 'Product Sans', Roboto, Arial, sans-serif;
        min-height: 100dvh;
        padding: 24px;
        color: #202124;
    }

    .cadastro-container,
    .editar-plano-container,
    .editar-usuario-container {
        background-color: #fff;
        padding: 34px 40px;
        box-shadow: none;
        border: 1px solid #e2e7ee;
        border-radius: 18px;
        width: min(100%, 720px);
        max-width: 720px;
        position: relative;
    }

    .cadastro-container h1,
    .cadastro-container h4,
    .editar-plano-container h1,
    .editar-plano-container h4,
    .editar-usuario-container h1,
    .editar-usuario-container h4 {
        color: #202124;
        font-size: 28px !important;
        font-weight: 500;
        line-height: 1.15;
        margin-bottom: 26px !important;
    }

    .form-floating {
        position: relative;
        margin-bottom: 14px;
    }

    .form-floating > .form-control,
    .form-floating > .form-select {
        height: 56px;
        min-height: 56px;
        border: 1px solid #d9e0e8;
        border-radius: 13px;
        background: #fff;
        color: #202124;
        font-size: 16px;
        line-height: 1.2;
        padding: 22px 46px 8px 18px;
        box-shadow: none;
    }

    .form-floating > textarea.form-control {
        height: auto;
        min-height: 132px;
        padding-top: 24px;
        resize: vertical;
    }

    .form-floating > label {
        top: -9px;
        left: 14px;
        width: auto;
        height: auto;
        padding: 0 6px;
        background: #fff;
        color: #202124;
        font-size: 13px;
        line-height: 1.2;
        opacity: 1;
        transform: none !important;
        pointer-events: none;
    }

    .form-floating > .form-control::placeholder,
    .form-floating > .form-select::placeholder {
        color: transparent;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: #202124;
        box-shadow: none;
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
        -webkit-text-fill-color: #202124 !important;
    }

    .btn-cadastrar,
    .btn-editar {
        min-height: 50px;
        border: 0;
        border-radius: 999px;
        background: #202124;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: auto;
        margin-top: 26px;
        box-shadow: none;
    }

    .btn-cadastrar:hover,
    .btn-editar:hover {
        background: #111214;
        color: #fff;
    }

    .btn-excluir {
        background-color: transparent;
        border: none;
        color: #dc3545;
        margin-left: auto;
        padding: 0;
    }

    .btn-excluir:hover {
        color: #bd2130;
    }

    .spinner-border {
        display: none;
        width: 1.5rem;
        height: 1.5rem;
        margin-right: 10px;
    }

    .row-inputs {
        display: flex;
        gap: 1rem;
    }

    .row-inputs .form-floating {
        flex: 1;
    }

    /* Estilos para mobile */
    @media (max-width: 576px) {
        body {
            background-color: #fff;
            align-items: flex-start;
            padding: 0;
            min-height: 100dvh;
        }

        .cadastro-container,
        .editar-plano-container,
        .editar-usuario-container {
            width: 100%;
            max-width: none;
            padding: 28px 18px 96px;
            box-shadow: none;
            border-radius: 0;
            border: 0;
            position: static;
            transform: none;
        }

        h1 {
            font-size: 28px;
            font-weight: 500;
            margin-bottom: 32px;
        }

        .form-floating {
            margin-bottom: 24px;
        }

        .form-floating > .form-control {
            border: 1px solid #d9e0e8;
            border-radius: 13px;
            padding: 22px 46px 8px 18px;
            height: 56px;
            font-size: 16px;
        }

        .form-floating > .form-control:focus {
            border-color: #202124;
        }

        .form-floating > label {
            top: -9px;
            left: 14px;
            padding: 0 6px;
            font-size: 13px;
        }

        .btn-cadastrar,
        .btn-editar {
            background-color: #202124;
            border: none;
            border-radius: 999px;
            height: 54px;
            font-size: 15px;
            font-weight: 600;
            text-transform: none;
            letter-spacing: 0;
            margin-top: 24px;
        }

        .row-inputs {
            flex-direction: column;
            gap: 0;
        }

        /* Botão fixo no rodapé (somente mobile) */
        .btn-fixed-bottom {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: white;
            padding: 10px 16px 14px;
            box-shadow: 0 -1px 0 rgba(218, 220, 224, .9);
            z-index: 1000;
        }

        .btn-fixed-bottom button {
            width: calc(100% - 20px);
            margin: 0 auto;
            display: block;
        }
    }

    /* Estilos do Toggle Switch */
    .switch {
        position: relative;
        display: inline-block;
        width: 50px;
        height: 30px;
        margin-top: 18px;
    }

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #eef1f4;
        transition: .2s;
        border-radius: 999px;
        border: 1px solid #d9e0e8;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #fff;
        transition: .2s;
        border-radius: 50%;
    }

    input:checked + .slider {
        background-color: #202124;
        border-color: #202124;
    }

    input:checked + .slider:before {
        transform: translateX(20px) translateY(-50%);
        height: 22px;
        width: 22px;
        background-color: #fff;
    }

    .dynamic-inputs .label-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .dynamic-inputs .input-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .dynamic-inputs .input-container input {
            flex: 1;
        }

        .dynamic-inputs .btn-add,
        .dynamic-inputs .btn-remove {
            padding: 0.5rem 1rem;
            border-radius: 0.25rem;
            cursor: pointer;
            border: none;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .dynamic-inputs .btn-add {
            background-color: #28a745;
            color: white;
        }

        .dynamic-inputs .btn-add:hover {
            background-color: #218838;
        }

        .dynamic-inputs .btn-remove {
            background-color: #dc3545;
            color: white;
        }

        .dynamic-inputs .btn-remove:hover {
            background-color: #c82333;
        }

        /* Estilo para o ícone de lixeira */
        .dynamic-inputs .btn-remove i {
            font-size: 1rem;
        }
