/* Reset y variables CSS */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', sans-serif;
            background-color: #F1FAF5;
            margin: 0;
            padding: 2rem;
            color: #1B4332;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Contenedor principal */
        .contract-container {
            max-width: 600px;
            margin: 0 auto;
            background-color: #FFFFFF;
            border-radius: 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 2rem;
            display: grid;
            gap: 1.5rem;
            position: relative;
            z-index: 1;
        }

        /* Tarjeta de acciones */
        .action-cards {
            padding: 0;
        }

        .action-card {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        /* Botón principal */
        .action-toggle {
            background-color: #2D6A4F;
            color: white;
            border: none;
            padding: 0.75rem 1.25rem;
            border-radius: 1rem;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: background 0.3s ease;
        }

        .action-toggle:hover {
            background-color: #1B4332;
        }

        .action-toggle i {
            margin-right: 10px;
            font-size: 1.1rem;
        }

        .arrow {
            transition: transform 0.3s ease;
            font-size: 1rem;
        }

        .action-toggle.active .arrow {
            transform: rotate(180deg);
        }

        /* Formulario */
        .action-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            animation: fadeIn 0.4s ease;
        }

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

        .action-form.hidden {
            display: none;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            color: #1B4332;
            font-weight: 500;
        }

        .form-group input {
            padding: 0.6rem;
            border: 2px solid #95D5B2;
            border-radius: 0.75rem;
            font-size: 1rem;
            background-color: #F1FAF5;
            transition: border 0.3s ease;
        }

        .form-group input:focus {
            border-color: #2D6A4F;
            outline: none;
        }

        .form-group p {
            font-size: 1rem;
            color: #1B4332;
            margin: 0;
        }

        .carbon-amount {
            font-weight: 700;
            color: #2D6A4F;
            font-size: 1.2rem;
        }

        /* Barra de progreso */
        .progress-container {
            width: 100%;
            background-color: #E0F2E9;
            border-radius: 1rem;
            overflow: hidden;
            height: 28px;
        }

        .progress-bar {
            height: 100%;
            width: 100%;
            transition: width 0.5s ease-in-out, background-color 0.5s ease;
            text-align: center;
            color: white;
            font-weight: bold;
            line-height: 28px;
            border-radius: 1rem;
        }

        /* Colores dinámicos */
        .progress-red { background-color: #D32F2F; }
        .progress-orange { background-color: #F57C00; }
        .progress-yellow { background-color: #FBC02D; color: #1B4332; }
        .progress-green { background-color: #2D6A4F; }

        /* Botón de confirmar */
        .btn-primary {
            background-color: #2D6A4F;
            color: white;
            border: none;
            padding: 0.75rem 1.25rem;
            border-radius: 1rem;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-primary:hover {
            background-color: #1B4332;
        }

        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .btn-primary i {
            margin-right: 8px;
            font-size: 1rem;
        }

        /* Decoraciones */
        .leaf-decoration {
            position: absolute;
            opacity: 0.05;
            z-index: 0;
            pointer-events: none;
        }

        .leaf-1 {
            top: 10%;
            right: 10%;
            font-size: 80px;
            transform: rotate(15deg);
            color: #2D6A4F;
        }

        .leaf-2 {
            bottom: 10%;
            left: 10%;
            font-size: 60px;
            transform: rotate(-20deg);
            color: #2D6A4F;
        }
